aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-core
diff options
context:
space:
mode:
authorJacek Poreda <jacek.poreda@sonarsource.com>2023-08-28 11:31:32 +0200
committersonartech <sonartech@sonarsource.com>2023-08-28 20:03:20 +0000
commit0ca178ef73f95e67f4e68b4f87533af82af53b8f (patch)
tree52c214b0719a70852f2122215f9c0e78fab3b106 /server/sonar-webserver-core
parent9443476f8cdf4145e766e6c8928ab6ab46639857 (diff)
downloadsonarqube-0ca178ef73f95e67f4e68b4f87533af82af53b8f.tar.gz
sonarqube-0ca178ef73f95e67f4e68b4f87533af82af53b8f.zip
SONAR-20217 Increase client mock timeout on TelemetryDaemon test
Diffstat (limited to 'server/sonar-webserver-core')
-rw-r--r--server/sonar-webserver-core/src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java2
1 files changed, 1 insertions, 1 deletions
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));
}