diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2020-06-26 14:26:45 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-07-01 20:05:53 +0000 |
commit | 6a484e1fa93750d8782932df00df3d24b5ee32c9 (patch) | |
tree | 7fadd813193906a6e6f797b686699813fec1a437 /server/sonar-webserver-core | |
parent | db6fdba06563d8e5cb39ddaabec976f2db6a1448 (diff) | |
download | sonarqube-6a484e1fa93750d8782932df00df3d24b5ee32c9.tar.gz sonarqube-6a484e1fa93750d8782932df00df3d24b5ee32c9.zip |
SONAR-13475 SONAR-13473 SONAR-13474 Don't restrict to GHE
Diffstat (limited to 'server/sonar-webserver-core')
-rw-r--r-- | server/sonar-webserver-core/src/test/java/org/sonar/server/telemetry/TelemetryDaemonTest.java | 4 |
1 files changed, 2 insertions, 2 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 6863739f05f..2de208bafb9 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 @@ -132,8 +132,8 @@ public class TelemetryDaemonTest { internalProperties.write("telemetry.lastPing", String.valueOf(sevenDaysAgo)); - verify(dataJsonWriter, timeout(2_000)).writeTelemetryData(any(JsonWriter.class), same(SOME_TELEMETRY_DATA)); - verify(client).upload(anyString()); + verify(client, timeout(2_000)).upload(anyString()); + verify(dataJsonWriter).writeTelemetryData(any(JsonWriter.class), same(SOME_TELEMETRY_DATA)); } @Test |