From a2c8b61d1bafee19dcba2329483f5b94ef47b6ac Mon Sep 17 00:00:00 2001 From: Karol Szapsza Date: Tue, 14 Jan 2025 16:19:50 +0100 Subject: [PATCH] fixing integration tests --- build.gradle.kts | 3 ++- integration-tests/build.gradle.kts | 22 +++++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9a218bbb5c..0156cc241e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,4 @@ +import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.api.tasks.testing.logging.TestLogEvent import pl.allegro.tech.build.axion.release.domain.PredefinedVersionCreator import pl.allegro.tech.hermes.findIntProperty @@ -191,7 +192,7 @@ subprojects { } testLogging { - exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL + exceptionFormat = TestExceptionFormat.FULL events = setOf( TestLogEvent.PASSED, TestLogEvent.SKIPPED, diff --git a/integration-tests/build.gradle.kts b/integration-tests/build.gradle.kts index 1c37abfa18..88e75fbf65 100644 --- a/integration-tests/build.gradle.kts +++ b/integration-tests/build.gradle.kts @@ -17,23 +17,27 @@ val agent: Configuration by configurations.creating { isCanBeConsumed = true } +// Order of the imports matters - do not reorder dependencies { - testImplementation(project(":hermes-client")) testImplementation(project(":hermes-common")) + testImplementation(project(":hermes-test-helper")) + testImplementation(project(":hermes-management")) testImplementation(project(":hermes-consumers")) testImplementation(project(":hermes-frontend")) - testImplementation(project(":hermes-management")) - testImplementation(project(":hermes-test-helper")) + testImplementation(project(":hermes-client")) + + testImplementation(group = "org.awaitility", name = "awaitility", version = "4.2.0") - testImplementation(libs.awaitility) - testImplementation(libs.jetty.reactive.httpclient) - testImplementation(libs.okhttp) - testImplementation(libs.reactive.streams) - testImplementation(libs.spring.test) - testImplementation(libs.spring.webflux) testImplementation(libs.testcontainers) testImplementation(libs.testcontainers.gcloud) + testImplementation(libs.okhttp) + testImplementation(libs.spring.webflux) + testImplementation(libs.spring.test) + testImplementation(libs.jetty.reactive.httpclient) + testImplementation(libs.awaitility) + testImplementation(libs.reactive.streams) + // TODO: can we update it ? Which version of server our clients use? testImplementation(libs.hornetq.jms.server) { exclude(module = "hornetq-native") }