From d017645cd8cdf5068678566b00b12e6e04f09e1b Mon Sep 17 00:00:00 2001 From: rochdev Date: Tue, 25 Jun 2024 17:20:23 -0400 Subject: [PATCH] increase timeout for integration test helpers to 30s --- integration-tests/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/helpers.js b/integration-tests/helpers.js index b8972540e1f..b80fe4a4e28 100644 --- a/integration-tests/helpers.js +++ b/integration-tests/helpers.js @@ -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 @@ -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