-
Sub-task
-
Resolution: Cannot Reproduce
-
Major
-
None
-
3.0.12.Final
-
None
-
None
org.jboss.resteasy.springmvc.test.spring.AsynchSpringTest.testAsynch fails with AssertionError: expected:<200> but was:<202> in JDK 7.
https://s3.amazonaws.com/archive.travis-ci.org/jobs/75546945/log.txt
Running org.jboss.resteasy.springmvc.test.spring.AsynchSpringTest Aug 14, 2015 4:22:04 AM org.springframework.test.context.TestContextManager retrieveTestExecutionListeners INFO: @TestExecutionListeners is not present for class [class org.jboss.resteasy.springmvc.test.spring.AsynchSpringTest]: using defaults. Aug 14, 2015 4:22:05 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [spring-test-async.xml] Aug 14, 2015 4:22:05 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.context.support.GenericApplicationContext@6ad5c04e: startup date [Fri Aug 14 04:22:05 UTC 2015]; root of context hierarchy Aug 14, 2015 4:22:05 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@146ba0ac: defining beans [org.jboss.resteasy.springmvc.tjws.TJWSEmbeddedSpringMVCServerBean#0,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor]; root of factory hierarchy KEEPALIVE!: true [Fri Aug 14 04:22:05 UTC 2015] Initializing Spring FrameworkServlet '' Aug 14, 2015 4:22:05 AM org.springframework.web.servlet.FrameworkServlet initServletBean INFO: FrameworkServlet '': initialization started Aug 14, 2015 4:22:05 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing WebApplicationContext for namespace '-servlet': startup date [Fri Aug 14 04:22:05 UTC 2015]; root of context hierarchy Aug 14, 2015 4:22:05 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [spring-test-async-server.xml] Aug 14, 2015 4:22:05 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [springmvc-resteasy.xml] Aug 14, 2015 4:22:05 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition INFO: Overriding bean definition for bean 'resteasy.deployment': replacing [Generic bean: class [org.jboss.resteasy.spi.ResteasyDeployment]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=start; destroyMethodName=stop; defined in class path resource [springmvc-resteasy.xml]] with [Generic bean: class [org.jboss.resteasy.spi.ResteasyDeployment]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=start; destroyMethodName=stop; defined in class path resource [spring-test-async-server.xml]] Aug 14, 2015 4:22:05 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@aecb35a: defining beans [resteasy.deployment,resteasy.registry,resteasy.dispatcher,resteasy.providerFactory,resteasy.spring.bean.processor,abstract.resteasy.handlerMapping,resteasy.handlerMapping,resteasy.handlerAdapter,resteasy.exception.handler,resteasy.no.resource.found.view,reateasy.error.view.resolver,async.resource]; root of factory hierarchy Aug 14, 2015 4:22:05 AM org.jboss.resteasy.springmvc.ResteasyHandlerMapping INFO: ResteasyHandlerMapping has the default order and throwNotFound settings. Consider adding explicit ordering to your HandlerMappings, with ResteasyHandlerMapping being last, and set throwNotFound = true. Aug 14, 2015 4:22:06 AM org.springframework.web.servlet.FrameworkServlet initServletBean INFO: FrameworkServlet '': initialization completed in 497 ms [Fri Aug 14 04:22:06 UTC 2015] Servlet for path '/' already defined and no default will be used. [Fri Aug 14 04:22:06 UTC 2015] TJWS httpd 0.0.0.0 - SimpleAcceptor ServerSocket[addr=0.0.0.0/0.0.0.0,localport=9091] is listening. IN PUT!!!! ******* countdown **** JOB: http://localhost:9091/asynch/jobs/1439526127050-1 Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.589 sec <<< FAILURE! - in org.jboss.resteasy.springmvc.test.spring.AsynchSpringTest testAsynch(org.jboss.resteasy.springmvc.test.spring.AsynchSpringTest) Time elapsed: 6.323 sec <<< FAILURE! java.lang.AssertionError: expected:<200> but was:<202> at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.failNotEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:126) at org.junit.Assert.assertEquals(Assert.java:470) at org.junit.Assert.assertEquals(Assert.java:454) at org.jboss.resteasy.springmvc.test.spring.AsynchSpringTest.testAsynch(AsynchSpringTest.java:188) [Fri Aug 14 04:22:13 UTC 2015] Accept: java.net.SocketException: Socket closed