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

fix: timeout/size shouldn't be passed to js_binary #110

Merged
merged 3 commits into from
Mar 21, 2023
Merged

fix: timeout/size shouldn't be passed to js_binary #110

merged 3 commits into from
Mar 21, 2023

Conversation

alexeagle
Copy link
Member

Fixes #95

BREAKING CHANGE:
The default timeout for jest_test is now short (1m by default) rather than moderate (5m by default).
Tests that take more than 1m should have a size or timeout attribute added.

Fixes #95

BREAKING CHANGE:
The default timeout for jest_test is now short (1m by default) rather than moderate (5m by default).
Tests that take more than 1m should have a size or timeout attribute added.
@alexeagle alexeagle requested a review from jbedard March 21, 2023 16:43
@alexeagle alexeagle enabled auto-merge (rebase) March 21, 2023 16:45
@alexeagle alexeagle merged commit e78c811 into main Mar 21, 2023
@alexeagle alexeagle deleted the i95 branch March 21, 2023 16:46
jhchabran added a commit to sourcegraph/sourcegraph-public-snapshot that referenced this pull request Mar 22, 2023
This commit contains a fix that enables to pass a timeout
to `jest_test` even if configured to use snapshots.

See aspect-build/rules_jest#110

[force-bazel]
jhchabran added a commit to sourcegraph/sourcegraph-public-snapshot that referenced this pull request Mar 22, 2023
…#49784)

See aspect-build/rules_jest#110, which fixes the
timeout issue that we've seen on `//client/web:test`.

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

CI 

## App preview:

- [Web](https://sg-web-jh-bump-rules-jest.onrender.com/search)

Check out the [client app preview
documentation](https://docs.sourcegraph.com/dev/how-to/client_pr_previews)
to learn more.
alexeagle added a commit that referenced this pull request Mar 22, 2023
alexeagle added a commit that referenced this pull request Mar 22, 2023
alexeagle added a commit that referenced this pull request Mar 23, 2023
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.

[FR]: Support timeout option
2 participants