Skip to content

Commit f7508ef

Browse files
VihasMakwanajriguera
authored andcommitted
[testbed] increase timeout values in large file tests (open-telemetry#35054)
See open-telemetry#35053 (comment) **Link to tracking Issue:** open-telemetry#35053
1 parent 4c2d13d commit f7508ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

testbed/tests/log_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ func TestLargeFileOnce(t *testing.T) {
345345
tc.StartBackend()
346346
tc.StartAgent()
347347

348-
tc.WaitForN(func() bool { return dataItemsGenerated.Load() == tc.MockBackend.DataItemsReceived() }, 20*time.Second, "all logs received")
348+
tc.WaitForN(func() bool { return dataItemsGenerated.Load() == tc.MockBackend.DataItemsReceived() }, 200*time.Second, "all logs received")
349349

350350
tc.StopAgent()
351351
tc.ValidateData()

testbed/tests/scenarios.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ func ScenarioLong(
542542

543543
tc.StopLoad()
544544

545-
tc.WaitFor(func() bool { return tc.LoadGenerator.DataItemsSent() == tc.MockBackend.DataItemsReceived() }, "all logs received")
545+
tc.WaitForN(func() bool { return tc.LoadGenerator.DataItemsSent() == tc.MockBackend.DataItemsReceived() }, 60*time.Second, "all logs received")
546546

547547
tc.ValidateData()
548548
}

0 commit comments

Comments
 (0)