Skip to content

Commit 833e4e2

Browse files
committed
Retry: This lines address the "$validate-code" read timeoout
Retry: This lines address the "$validate-code" read timeoout
1 parent f58fe17 commit 833e4e2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/validator.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ import {AxiosInstance} from "axios";
66
import fs from "fs";
77

88

9+
// Retry: This lines address the "$validate-code" read timeoout (e.g., when the terminology endpoint is slow)
10+
jest.retryTimes(2, { logErrorsBeforeRetry: true });
911

1012
const args = require('minimist')(process.argv.slice(2))
1113

1214

1315
let terminology = true;
14-
jest.setTimeout(40*1000)
16+
jest.setTimeout(120_000)
1517

1618
let gitHubSummary = '### :fire_engine: Logs '+NEW_LINE;
1719

0 commit comments

Comments
 (0)