-
Bug
-
Resolution: Done
-
Major
-
3.15.2.Final
-
None
-
None
org.jboss.resteasy.test.microprofile.restclient.SsePublisherClientTest fails when running against bootable-jar (branch 3.15)
[ERROR] testSseClient(org.jboss.resteasy.test.microprofile.restclient.SsePublisherClientTest) Time elapsed: 2.401 s <<< FAILURE! java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertFalse(Assert.java:65) at org.junit.Assert.assertFalse(Assert.java:75) at org.jboss.resteasy.test.microprofile.restclient.SsePublisherClientTest.testSseClient(SsePublisherClientTest.java:69) ...
From the 12 produced events the first 10 are received instead of expected the first 5 and the last 5 events. See https://github.com/resteasy/Resteasy/blob/3.15/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/microprofile/restclient/SsePublisherClientTest.java#L69
This is caused by missing systemPropertyVariables configuration <resteasy.microprofile.sseclient.buffersize>5</resteasy.microprofile.sseclient.buffersize> in bootable jar surefire execution. See https://github.com/resteasy/Resteasy/blob/3.15/testsuite/integration-tests/pom.xml#L285