]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20217 Increase client mock timeout on TelemetryDaemon test
authorJacek Poreda <jacek.poreda@sonarsource.com>
Mon, 28 Aug 2023 09:31:32 +0000 (11:31 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 28 Aug 2023 20:03:20 +0000 (20:03 +0000)
server/sonar-webserver-core/src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java

index f4e860abb19cb992083918fc190ee6b72669152f..248e6c78f561278b78877764ff3b8763acb22afe 100644 (file)
@@ -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));
   }