junit.framework.AssertionFailedError: expected:<304> but was:<200>

GitHub | vbenso | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 952#240598452

    GitHub | 8 months ago | vbenso
    junit.framework.AssertionFailedError: expected:<304> but was:<200>

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      expected:<304> but was:<200>

      at com.couchbase.lite.ViewsTest.testViewCreationAndRecall()
    2. com.couchbase.lite
      ViewsTest.testViewCreationAndRecall
      1. com.couchbase.lite.ViewsTest.testViewCreationAndRecall(ViewsTest.java:132)
      1 frame
    3. Java RT
      Method.invokeNative
      1. java.lang.reflect.Method.invokeNative(Native Method)
      1 frame
    4. com.couchbase.lite
      LiteTestCaseWithDB.runBare
      1. com.couchbase.lite.LiteTestCase.runBare(LiteTestCase.java:33)
      2. com.couchbase.lite.LiteTestCaseWithDB.runBare(LiteTestCaseWithDB.java:106)
      2 frames
    5. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
      2. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
      3. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
      4. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1729)
      4 frames