From 0ca178ef73f95e67f4e68b4f87533af82af53b8f Mon Sep 17 00:00:00 2001 From: Jacek Poreda Date: Mon, 28 Aug 2023 11:31:32 +0200 Subject: SONAR-20217 Increase client mock timeout on TelemetryDaemon test --- .../src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-webserver-core') diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java index f4e860abb19..248e6c78f56 100644 --- a/server/sonar-webserver-core/src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java +++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java @@ -93,7 +93,7 @@ public class TelemetryDaemonTest { underTest.start(); - verify(client, timeout(2_000).atLeastOnce()).upload(anyString()); + verify(client, timeout(4_000).atLeastOnce()).upload(anyString()); verify(dataJsonWriter).writeTelemetryData(any(JsonWriter.class), same(SOME_TELEMETRY_DATA)); } -- cgit v1.2.3