Skip to content

Commit

Permalink
increase timeout for integration test helpers to 30s (#4443)
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev authored and juan-fernandez committed Jul 11, 2024
1 parent 7c7c599 commit 1e6038d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class FakeAgent extends EventEmitter {
// but it't not guaranteed to be the last one (so, expectedMessageCount would not be helpful).
// It can still fail if it takes longer than `timeout` duration or if none pass the assertions (timeout still called)
assertMessageReceived (fn, timeout, expectedMessageCount = 1, resolveAtFirstSuccess) {
timeout = timeout || 5000
timeout = timeout || 30000
let resultResolve
let resultReject
let msgCount = 0
Expand Down Expand Up @@ -119,7 +119,7 @@ class FakeAgent extends EventEmitter {
}

assertTelemetryReceived (fn, timeout, requestType, expectedMessageCount = 1) {
timeout = timeout || 5000
timeout = timeout || 30000
let resultResolve
let resultReject
let msgCount = 0
Expand Down

0 comments on commit 1e6038d

Please sign in to comment.