Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): raise integ test timeout #23812

Merged
merged 2 commits into from
Jan 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import * as fs from 'fs';
import * as path from 'path';
import { integTest, randomString, withDefaultFixture } from '../../lib';

const timeout = process.env.CODEBUILD_BUILD_ID ? // if the process is running in CodeBuild
3_600_000 : // 1 hour
600_000; // 10 minutes
jest.setTimeout(timeout); // Includes the time to acquire locks
process.stdout.write(`bootstrapping.integtest.ts: Setting jest time out to ${timeout} ms`);
jest.setTimeout(2 * 60 * 60_000); // Includes the time to acquire locks, worst-case single-threaded runtime

integTest('can bootstrap without execution', withDefaultFixture(async (fixture) => {
const bootstrapStackName = fixture.bootstrapStackName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as os from 'os';
import * as path from 'path';
import { integTest, cloneDirectory, shell, withDefaultFixture, retry, sleep, randomInteger, withSamIntegrationFixture, RESOURCES_DIR } from '../../lib';

jest.setTimeout(60 * 60_000); // Includes the time to acquire locks
jest.setTimeout(2 * 60 * 60_000); // Includes the time to acquire locks, worst-case single-threaded runtime

describe('ci', () => {
integTest('output to stderr', withDefaultFixture(async (fixture) => {
Expand Down