quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

Ensure that @Launch works with @BeforeEach

Open geoand opened this issue 3 years ago • 3 comments

The way this is done is pretty much a hack, but we either have to do it this way, or document that the combination of the two does not work as expected

Fixes: #26711

geoand avatar Jul 14 '22 06:07 geoand

@stuartwdouglas WDYT about this hack?

geoand avatar Jul 14 '22 06:07 geoand


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building af7cb2f38d4680b0c247b0614b8dfbcc8f889bfe

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 18 #

- Failing: extensions/smallrye-reactive-messaging-kafka/deployment 
! Skipped: integration-tests/kafka-oauth-keycloak integration-tests/kafka-sasl-elytron integration-tests/reactive-messaging-hibernate-reactive and 2 more

:package: extensions/smallrye-reactive-messaging-kafka/deployment

io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingWorkingAppPropsTestCase.testContinuousTestingScenario3 line 54 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Failed to wait for test run 4 State{lastRun=3, running=true, inProgress=true, run=1, passed=0, failed=1, skipped=0, isBrokenOnly=false, isTestOutput=false, isInstrumentationBasedReload=false, isLiveReload=true}
	at io.quarkus.test.ContinuousTestingTestUtils.waitForNextCompletion(ContinuousTestingTestUtils.java:44)
	at io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingWorkingAppPropsTestCase.testContinuousTestingScenario3(KafkaDevServicesContinuousTestingWorkingAppPropsTestCase.java:54)

quarkus-bot[bot] avatar Jul 15 '22 07:07 quarkus-bot[bot]

@stuartwdouglas any comment on this?

geoand avatar Jul 26 '22 06:07 geoand

Failing Jobs - Building 9be7834560c911a31680bfb3f68cebf0a3ec01ce

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 17 #

- Failing: integration-tests/oidc-code-flow 

:package: integration-tests/oidc-code-flow

io.quarkus.it.keycloak.CodeFlowTest.testRPInitiatedLogout line 438 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <200> but was: <401>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

:gear: JVM Tests - JDK 18 #

- Failing: integration-tests/oidc-code-flow 

:package: integration-tests/oidc-code-flow

io.quarkus.it.keycloak.CodeFlowTest.testTokenAutoRefresh line 497 - More details - Source on GitHub

com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 401 Unauthorized for http://localhost:8081/tenant-autorefresh
	at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:701)
	at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2452)

quarkus-bot[bot] avatar Sep 08 '22 09:09 quarkus-bot[bot]

@sberyozkin are the failing tests flaky?

geoand avatar Sep 08 '22 09:09 geoand