Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/validate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ import {describe, expect, jest} from "@jest/globals";
import axios, {AxiosInstance} from "axios";
import * as console from "console";

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

// Initial terminology queries can take a long time to process - cached responses are much more responsive
jest.setTimeout(40*1000)
jest.setTimeout(120_000)


let gitHubSummary = '### :fire_engine: Logs '+NEW_LINE;
Expand Down
3 changes: 0 additions & 3 deletions src/validator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import fs from "fs";
// Retry: This lines address the "$validate-code" read timeoout (e.g., when the terminology endpoint is slow)
jest.retryTimes(2, { logErrorsBeforeRetry: true });

// Retry flaky specs (e.g., when the terminology endpoint is slow)
jest.retryTimes(2, { logErrorsBeforeRetry: true });

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

let terminology = true;
Expand Down