Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix: set timeout for web-sveltekit/unit_tests to moderate#63879

Merged
bahrmichael merged 1 commit into
mainfrom
bahrmichae/2024-07-17-extend-vitest-runtime
Jul 17, 2024
Merged

fix: set timeout for web-sveltekit/unit_tests to moderate#63879
bahrmichael merged 1 commit into
mainfrom
bahrmichae/2024-07-17-extend-vitest-runtime

Conversation

@bahrmichael

Copy link
Copy Markdown
Contributor

The unit tests for web-sveltekit have become flaky, and have therefore been set to run only manually: https://github.com/sourcegraph/sourcegraph/pull/63874

By running them via sg ci bazel I noticed in the waterfall view, that the tests are taking slightly above one minute (https://buildkite.com/sourcegraph/sourcegraph/builds/282732/waterfall), and that previous tests failed because it exceeded a timeout of 1 minute: https://buildkite.com/sourcegraph/sourcegraph/builds/282684

It looks to me like the CI agents are a bit less powerful, and therefore take longer than our local test runs (which usually don't exceed 10 seconds).

I have not investigated parallelizing the vitest workers, because for web-sveltekit we currently only have a vite config, but not a vitest config. More context on that here: https://github.com/sourcegraph/sourcegraph/pull/60927

Test plan

CI

Changelog

@cla-bot cla-bot Bot added the cla-signed label Jul 17, 2024
@bahrmichael bahrmichael enabled auto-merge (squash) July 17, 2024 13:48
@bahrmichael bahrmichael requested a review from a team July 17, 2024 13:51

@camdencheek camdencheek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@bahrmichael bahrmichael merged commit 4823c2f into main Jul 17, 2024
@bahrmichael bahrmichael deleted the bahrmichae/2024-07-17-extend-vitest-runtime branch July 17, 2024 14:01
bahrmichael added a commit that referenced this pull request Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants