Skip to content

Commit b38b5d2

Browse files
authored
fix: Common Service: should retry a request failed (#2652)
* fix: Retry failed requests * fix: Add comment explaining increased timeout
1 parent 19f8a32 commit b38b5d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

system-test/common.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ describe('Common', () => {
5757
});
5858

5959
it('should retry a request', function (done) {
60-
this.timeout(60 * 1000);
60+
// We've increased the timeout to accommodate the retry backoff strategy.
61+
// The test's retry attempts and the delay between them can exceed the default timeout,
62+
// causing a false negative (test failure due to timeout instead of a logic error).
63+
this.timeout(90 * 1000);
6164

6265
let numRequestAttempts = 0;
6366

0 commit comments

Comments
 (0)