Skip to content

Commit 0c48b85

Browse files
Copilottrask
andcommitted
Add explanatory comment for Awaitility wait in LiveMetrics test
Co-authored-by: trask <[email protected]>
1 parent 0762356 commit 0c48b85

File tree

1 file changed

+1
-0
lines changed
  • smoke-tests/apps/LiveMetrics/src/smokeTest/java/com/microsoft/applicationinsights/smoketest

1 file changed

+1
-0
lines changed

smoke-tests/apps/LiveMetrics/src/smokeTest/java/com/microsoft/applicationinsights/smoketest/LiveMetricsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ void testTelemetryDataFlow() throws java.lang.Exception {
5151
assertThat(testing.mockedIngestion.isPingReceived()).isTrue();
5252

5353
// Wait for all telemetry to be available in LiveMetrics post bodies
54+
// Need to wait because some but not all the telemetry may be available in the first post body
5455
Awaitility.await()
5556
.atMost(Duration.ofSeconds(30))
5657
.until(() -> {

0 commit comments

Comments
 (0)