Skip to content

Set default higher timeout on CLI integration tests#2326

Merged
koesie10 merged 1 commit intomainfrom
koesie10/raise-cli-integration-timeout
Apr 14, 2023
Merged

Set default higher timeout on CLI integration tests#2326
koesie10 merged 1 commit intomainfrom
koesie10/raise-cli-integration-timeout

Conversation

@koesie10
Copy link
Copy Markdown
Member

This sets a default timeout of 3 minutes on CLI integration tests. This is because these tests call into the CLI and execute queries, so these are expected to take a lot longer than the default 5 seconds. This allows us to remove all the individual jest.setTimeout calls with different values from the test files.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

This sets a default timeout of 3 minutes on CLI integration tests. This
is because these tests call into the CLI and execute queries, so these
are expected to take a lot longer than the default 5 seconds. This
allows us to remove all the individual `jest.setTimeout` calls with
different values from the test files.
@koesie10 koesie10 requested review from a team as code owners April 14, 2023 08:47
@koesie10 koesie10 mentioned this pull request Apr 14, 2023
3 tasks
@koesie10 koesie10 merged commit ffa643c into main Apr 14, 2023
@koesie10 koesie10 deleted the koesie10/raise-cli-integration-timeout branch April 14, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants