Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1215 Resteasy 3 intermittent testsuite failures
  3. RESTEASY-1217

org.jboss.resteasy.test.asynch.AsynchTest fails with AssertionError: expected:<200> but was:<202>

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • 3.0.12.Final
    • None
    • None

      org.jboss.resteasy.test.asynch.AsynchTest fails with java.lang.AssertionError: expected:<200> but was:<202> in JDK 7

      https://s3.amazonaws.com/archive.travis-ci.org/jobs/75052065/log.txt

      Running org.jboss.resteasy.test.asynch.AsynchTest
      [Embedded Container Start]
      KEEPALIVE!: true
      [Tue Aug 11 08:27:38 UTC 2015] Servlet for path '/' already defined and no default will be used.
      [Tue Aug 11 08:27:38 UTC 2015] TJWS httpd localhost - SimpleAcceptor ServerSocket[addr=localhost/127.0.0.1,localport=8081] is listening.
      IN PUT!!!!
      Asserts passed
      Called injected passed
      ******* countdown ****
      ******* countdown complete ****
      JOB: http://localhost:8081/asynch/jobs/1439281658790-1
      in post
      Asserts passed
      Called injected passed
      in post
      Asserts passed
      Called injected passed
      in post
      Asserts passed
      Called injected passed
      [Embedded Container Stop]
      [Tue Aug 11 08:27:43 UTC 2015] Accept: java.net.SocketException: Socket closed
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.346 sec <<< FAILURE! - in org.jboss.resteasy.test.asynch.AsynchTest
      testAsynch(org.jboss.resteasy.test.asynch.AsynchTest)  Time elapsed: 4.807 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<200> but was:<202>
      	at org.junit.Assert.fail(Assert.java:71)
      	at org.junit.Assert.failNotEquals(Assert.java:451)
      	at org.junit.Assert.assertEquals(Assert.java:99)
      	at org.junit.Assert.assertEquals(Assert.java:116)
      	at org.jboss.resteasy.test.asynch.AsynchTest.testAsynch(AsynchTest.java:195)
      

              weli@redhat.com Weinan Li
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: