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

[omicron-dev] increase test timeout to 30 seconds #4557

Conversation

sunshowers
Copy link
Contributor

On my machine (Ryzen 7950X) I saw that under load (32 tests running at the same
time), the timeout would quite reliably be hit likely because cockroach was
starved. Increasing it seems pretty harmless.

Created using spr 1.3.5
Copy link
Collaborator

@davepacheco davepacheco left a comment

Choose a reason for hiding this comment

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

It looks like this timeout only covers the period between when we send SIGINT to omicron-dev db-run and when wait(2) (or some other wait syscall) returns an exit status. 15 seconds seems pretty long to wait for that? I don't think there's much harm in bumping this up -- I'm just worried something deeper is wrong.

@sunshowers
Copy link
Contributor Author

Yeah, omicron-dev db-run has its own signal handler for SIGINT that waits for the database to shut down. That's what takes more than 15 seconds.

@sunshowers sunshowers merged commit 3f702ef into main Nov 23, 2023
20 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/omicron-dev-increase-test-timeout-to-30-seconds branch November 23, 2023 01:26
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