Details
Description
Full test name:
com/sun/ts/tests/jaxrs/jaxrs21/ee/sse/sseeventsource/JAXRSClient#defaultWaiting1s_from_standalone
Running it locally:
git clone git@github.com:tckwork/cxf.git cd cxf ./runtests com/sun/ts/tests/jaxrs/jaxrs21/ee/sse/sseeventsource/JAXRSClient#defaultWaiting1s_from_standalone
At the time this issue was filed, the test failed with the following output.
[javatest.batch] 04-15-2021 21:51:02: ############################### [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - >> GET http://localhost:8080/jaxrs_jaxrs21_ee_sse_sseeventsource_web/su/available [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - >> Accept:*/* [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - << 200 OK [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - << Content-Length: 2 [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - << content-type: text/plain [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - << Server: GlassFish Server Open Source Edition 5.1.0 [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - << X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition 5.1.0 Java/Oracle Corporation/1.8) [javatest.batch] 04-15-2021 21:51:02: TRACE: [WIRE] - << OK [javatest.batch] 04-15-2021 21:51:06: ERROR: SseEventSource#isOpen returns false [javatest.batch] 04-15-2021 21:51:06: ERROR: Test case throws exception: SseEventSource#isOpen returns false [javatest.batch] 04-15-2021 21:51:06: ERROR: Exception at: [javatest.batch] 04-15-2021 21:51:06: ERROR: com.sun.ts.lib.harness.EETest$Fault: SseEventSource#isOpen returns false [javatest.batch] at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.fault(JAXRSCommonClient.java:767) [javatest.batch] at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.assertTrue(JAXRSCommonClient.java:662) [javatest.batch] at com.sun.ts.tests.jaxrs.jaxrs21.ee.sse.SSEJAXRSClient.querySSEEndpoint(SSEJAXRSClient.java:58) [javatest.batch] at com.sun.ts.tests.jaxrs.jaxrs21.ee.sse.SSEJAXRSClient.querySSEEndpoint(SSEJAXRSClient.java:44) [javatest.batch] at com.sun.ts.tests.jaxrs.jaxrs21.ee.sse.sseeventsource.JAXRSClient.defaultWaiting1s(JAXRSClient.java:136) [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [javatest.batch] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [javatest.batch] at java.lang.reflect.Method.invoke(Method.java:498) [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:596) [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115) [javatest.batch] at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40) [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105) [javatest.batch] at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209) [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:285) [javatest.batch] at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) [javatest.batch] [javatest.batch] 04-15-2021 21:51:06: [JAXRSCommonClient] Test cleanup OK [javatest.batch] STATUS:Failed.Test case throws exception: SseEventSource#isOpen returns false [javatest.batch] Failed. Test case throws exception: SseEventSource#isOpen returns false [javatest.batch] ******************************************************************************** [javatest.batch] Finished Test: FAILED........com/sun/ts/tests/jaxrs/jaxrs21/ee/sse/sseeventsource/JAXRSClient.java#defaultWaiting1s_from_standalone
See the attached javatest.log and jtr file for full test details
https://github.com/apache/cxf/pull/621/files