junit.framework.AssertionFailedError: Expected: <null> but was: POST /db/_bulk_docs HTTP/1.1

Couchbase JIRA | Andrei Baranouski | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    http://172.23.113.52:8080/job/couchbase-lite-android-build/68/console :preDexDebugTest :dexDebugTest :processDebugTestJavaRes UP-TO-DATE :validateDebugSigning :packageDebugTest :assembleDebugTest :connectedAndroidTest com.couchbase.lite.ManagerTest > testClose[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError: expected:<-1> but was:<0> at com.couchbase.lite.ManagerTest.testClose(ManagerTest.java:237) com.couchbase.lite.replicator.ChangeTrackerTest > testChangeTrackerBackoffExceptions[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ChangeTrackerTest.testChangeTrackerBackoff(ChangeTrackerTest.java:356) com.couchbase.lite.replicator.ChangeTrackerTest > testChangeTrackerBackoffInvalidJson[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ChangeTrackerTest.testChangeTrackerBackoff(ChangeTrackerTest.java:356) com.couchbase.lite.replicator.ReplicationTest > testGoOffline[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ReplicationTest.testGoOffline(ReplicationTest.java:2627) com.couchbase.lite.replicator.ReplicationTest > testGoOfflinePusher[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError: Expected: <null> but was: POST /db/_bulk_docs HTTP/1.1 at com.couchbase.lite.replicator.ReplicationTest.testGoOfflinePusher(ReplicationTest.java:2849) com.couchbase.lite.replicator.ReplicationTest > testMockPullBulkDocsSyncGw[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ReplicationTest.mockPullBulkDocs(ReplicationTest.java:3385) :connectedAndroidTest FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':connectedAndroidTest'. > There were failing tests. See the report at: file:///home/couchbase/jenkins/workspace/couchbase-lite-android-build/build/outputs/reports/androidTests/connected/index.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED

    Couchbase JIRA | 2 years ago | Andrei Baranouski
    junit.framework.AssertionFailedError: Expected: <null> but was: POST /db/_bulk_docs HTTP/1.1
  2. 0

    http://172.23.113.52:8080/job/couchbase-lite-android-build/68/console :preDexDebugTest :dexDebugTest :processDebugTestJavaRes UP-TO-DATE :validateDebugSigning :packageDebugTest :assembleDebugTest :connectedAndroidTest com.couchbase.lite.ManagerTest > testClose[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError: expected:<-1> but was:<0> at com.couchbase.lite.ManagerTest.testClose(ManagerTest.java:237) com.couchbase.lite.replicator.ChangeTrackerTest > testChangeTrackerBackoffExceptions[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ChangeTrackerTest.testChangeTrackerBackoff(ChangeTrackerTest.java:356) com.couchbase.lite.replicator.ChangeTrackerTest > testChangeTrackerBackoffInvalidJson[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ChangeTrackerTest.testChangeTrackerBackoff(ChangeTrackerTest.java:356) com.couchbase.lite.replicator.ReplicationTest > testGoOffline[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ReplicationTest.testGoOffline(ReplicationTest.java:2627) com.couchbase.lite.replicator.ReplicationTest > testGoOfflinePusher[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError: Expected: <null> but was: POST /db/_bulk_docs HTTP/1.1 at com.couchbase.lite.replicator.ReplicationTest.testGoOfflinePusher(ReplicationTest.java:2849) com.couchbase.lite.replicator.ReplicationTest > testMockPullBulkDocsSyncGw[hudson_en-US_160_WVGA_android-19_armeabi-v7a_param(AVD) - 4.4.2] FAILED  junit.framework.AssertionFailedError at com.couchbase.lite.replicator.ReplicationTest.mockPullBulkDocs(ReplicationTest.java:3385) :connectedAndroidTest FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':connectedAndroidTest'. > There were failing tests. See the report at: file:///home/couchbase/jenkins/workspace/couchbase-lite-android-build/build/outputs/reports/androidTests/connected/index.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED

    Couchbase JIRA | 2 years ago | Andrei Baranouski
    junit.framework.AssertionFailedError: Expected: <null> but was: POST /db/_bulk_docs HTTP/1.1

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      Expected: <null> but was: POST /db/_bulk_docs HTTP/1.1

      at com.couchbase.lite.replicator.ReplicationTest.testGoOfflinePusher()
    2. com.couchbase.lite
      ReplicationTest.testGoOfflinePusher
      1. com.couchbase.lite.replicator.ReplicationTest.testGoOfflinePusher(ReplicationTest.java:2849)
      1 frame