Skip to content

Commit a6e94a9

Browse files
committed
Merge remote-tracking branch 'origin/main' into chrislample/sc-20570/support-test-retries
2 parents ba25f49 + 440b851 commit a6e94a9

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Diff for: packages/cli/e2e/__tests__/fixtures/retry-project/src/__checks__/group.check.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-new */
12
import { CheckGroup, BrowserCheck } from 'checkly/constructs'
23

34
const group = new CheckGroup('check-group-1', {

Diff for: packages/cli/src/commands/trigger.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ import { loadChecklyConfig } from '../services/checkly-config-loader'
77
import { splitConfigFilePath, getEnvs, getGitInformation, getCiInformation } from '../services/util'
88
import type { Region } from '..'
99
import TriggerRunner, { NoMatchingChecksError } from '../services/trigger-runner'
10-
import { RunLocation, Events, PrivateRunLocation, SequenceId } from '../services/abstract-check-runner'
10+
import {
11+
RunLocation,
12+
Events,
13+
PrivateRunLocation,
14+
SequenceId,
15+
DEFAULT_CHECK_RUN_TIMEOUT_SECONDS,
16+
} from '../services/abstract-check-runner'
1117
import config from '../services/config'
1218
import { createReporters, ReporterType } from '../reporters/reporter'
1319
import { printLn } from '../reporters/util'
@@ -44,7 +50,7 @@ export default class Trigger extends AuthCommand {
4450
description: 'The Checkly CLI config filename.',
4551
}),
4652
timeout: Flags.integer({
47-
default: 240,
53+
default: DEFAULT_CHECK_RUN_TIMEOUT_SECONDS,
4854
description: 'A timeout (in seconds) to wait for checks to complete.',
4955
}),
5056
verbose: Flags.boolean({

Diff for: packages/cli/src/services/abstract-check-runner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export type RunLocation = PublicRunLocation | PrivateRunLocation
3535
export type CheckRunId = string
3636
export type SequenceId = string
3737

38-
export const DEFAULT_CHECK_RUN_TIMEOUT_SECONDS = 300
38+
export const DEFAULT_CHECK_RUN_TIMEOUT_SECONDS = 600
3939

4040
const DEFAULT_SCHEDULING_DELAY_EXCEEDED_MS = 20000
4141

0 commit comments

Comments
 (0)