mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Only do initial wait when not running tests
This commit is contained in:
4
lib/entry-points.js
generated
4
lib/entry-points.js
generated
@@ -157483,7 +157483,9 @@ async function waitForProcessing(repositoryNwo, sarifID, logger, options = {
|
||||
try {
|
||||
const client = getApiClient();
|
||||
let statusCheckBackoff = STATUS_CHECK_INITIAL_BACKOFF_MILLISECONDS;
|
||||
await delay(statusCheckBackoff, { allowProcessExit: false });
|
||||
if (process.env["NODE_ENV"] !== "test") {
|
||||
await delay(statusCheckBackoff, { allowProcessExit: false });
|
||||
}
|
||||
for (let statusCheckCount = 1; statusCheckCount <= STATUS_CHECK_MAX_TRIES; statusCheckCount++) {
|
||||
let response = void 0;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user