From 25592161f1698d5be10311cab517cd4824445945 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 20 Jun 2017 17:42:21 +0200 Subject: [PATCH] Fix ReportDumpTest on release builds --- it/it-tests/src/test/java/it/analysis/ReportDumpTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/it/it-tests/src/test/java/it/analysis/ReportDumpTest.java b/it/it-tests/src/test/java/it/analysis/ReportDumpTest.java index 3a632def01a..e6c46b4a8a2 100644 --- a/it/it-tests/src/test/java/it/analysis/ReportDumpTest.java +++ b/it/it-tests/src/test/java/it/analysis/ReportDumpTest.java @@ -57,7 +57,8 @@ public class ReportDumpTest { assertThat(props).hasSize(6); assertThat(props.getProperty("projectKey")).isEqualTo("dump_metadata_of_uploaded_report"); assertThat(props.getProperty("ceTaskId")).isNotEmpty(); - assertThat(props.getProperty("serverVersion")).isEqualTo(orchestrator.getServer().version().toString()); + String serverVersion = orchestrator.getServer().newHttpCall("api/server/version").execute().getBodyAsString(); + assertThat(props.getProperty("serverVersion")).isEqualTo(serverVersion); verifyUrl(props.getProperty("serverUrl")); verifyUrl(props.getProperty("dashboardUrl")); verifyUrl(props.getProperty("ceTaskUrl")); -- 2.39.5