JiriOndrusek commented on code in PR #3919: URL: https://github.com/apache/camel-quarkus/pull/3919#discussion_r937412225
########## integration-tests/google-pubsub/src/test/java/org/apache/camel/quarkus/component/google/pubsub/it/GooglePubsubTest.java: ########## @@ -16,18 +16,34 @@ */ package org.apache.camel.quarkus.component.google.pubsub.it; +import java.util.HashSet; +import java.util.Set; +import java.util.concurrent.TimeUnit; + import io.quarkus.test.common.QuarkusTestResource; import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; +import org.apache.camel.quarkus.test.support.google.GoogleCloudTestResource; +import org.hamcrest.Matchers; +import org.jboss.logging.Logger; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.MethodOrderer; +import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.TestMethodOrder; +import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; -import static org.hamcrest.CoreMatchers.is; +import static org.awaitility.Awaitility.await; +import static org.junit.jupiter.api.Assertions.assertTrue; @QuarkusTest -@QuarkusTestResource(GooglePubsubTestResource.class) +@QuarkusTestResource(GoogleCloudTestResource.class) +@TestMethodOrder(MethodOrderer.OrderAnnotation.class) class GooglePubsubTest { + private static final Logger LOG = Logger.getLogger(GooglePubsubTest.class); @Test + @Order(1) Review Comment: Ordering of the test was one of my attempts to find a reason of CI failures (in case that they are caused by different ordering). Unfortunately ordering didn't help, so I will remove it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org