From 133b05a0ed915d4f3a3ed6745db717802117b297 Mon Sep 17 00:00:00 2001 From: Nikita Tkachenko Date: Thu, 28 Nov 2024 12:59:44 +0100 Subject: [PATCH] Ignore RC versions when running Maven smoke tests --- .../src/test/groovy/datadog/smoketest/MavenSmokeTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dd-smoke-tests/maven/src/test/groovy/datadog/smoketest/MavenSmokeTest.groovy b/dd-smoke-tests/maven/src/test/groovy/datadog/smoketest/MavenSmokeTest.groovy index 897b482aca5..8df06e14f25 100644 --- a/dd-smoke-tests/maven/src/test/groovy/datadog/smoketest/MavenSmokeTest.groovy +++ b/dd-smoke-tests/maven/src/test/groovy/datadog/smoketest/MavenSmokeTest.groovy @@ -296,7 +296,7 @@ class MavenSmokeTest extends CiVisibilitySmokeTest { NodeList versionList = doc.getElementsByTagName("latest") if (versionList.getLength() > 0) { def version = versionList.item(0).getTextContent() - if (!version.contains('alpha') && !version.contains('beta')) { + if (!version.contains('alpha') && !version.contains('beta') && !version.contains('rc')) { LOGGER.info("Will run the 'latest' tests with version ${version}") return version }