Skip to content

Commit

Permalink
[testbed] increase timeout values in large file tests (open-telemetry…
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana authored and jriguera committed Oct 4, 2024
1 parent 4c2d13d commit f7508ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testbed/tests/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func TestLargeFileOnce(t *testing.T) {
tc.StartBackend()
tc.StartAgent()

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

tc.StopAgent()
tc.ValidateData()
Expand Down
2 changes: 1 addition & 1 deletion testbed/tests/scenarios.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func ScenarioLong(

tc.StopLoad()

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

tc.ValidateData()
}
Expand Down

0 comments on commit f7508ef

Please sign in to comment.