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

Permit configuring maximum number of seconds to wait for test command #42

Merged
merged 3 commits into from
May 30, 2023

Conversation

ayazhafiz
Copy link
Member

Adds a --startup-timeout-seconds flag (and ABQ_STARTUP_TIMEOUT_SECONDS env var) to configure the maximum amount of time to wait for the native test process to startup.

@ayazhafiz ayazhafiz requested a review from TAGraves May 25, 2023 18:21
@github-actions
Copy link

Bigtest for baf47f4 (run)

Benchmarks:

  • RSpec: 11.75% overhead
    • RSpec time: 17.78 seconds
    • ABQ time: 19.87 seconds
  • RSpec parallel, 10 runs: max 16.76% overhead
    • min 6.97% overhead
    • standard deviation: 3.33%
  • Jest: 5.75% overhead
    • Jest time: 21.378 seconds
    • ABQ time: 22.608 seconds

Fuzz result sizes:

  • PASSED

michaelglass
michaelglass previously approved these changes May 25, 2023
Copy link
Contributor

@michaelglass michaelglass left a comment

Choose a reason for hiding this comment

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

nice!

michaelglass
michaelglass previously approved these changes May 30, 2023
ayazhafiz and others added 2 commits May 30, 2023 10:06
Adds a `--startup-timeout-seconds` flag (and `ABQ_STARTUP_TIMEOUT_SECONDS` env var)
to configure the maximum amount of time to wait for the native test
process to startup.
Co-authored-by: Michael Glass <me@mike.is>
@ayazhafiz ayazhafiz force-pushed the configure-abq-protocol-version-timeout branch from fabf9ab to e97944b Compare May 30, 2023 15:10
@@ -3924,7 +3924,7 @@ fn kill_on_early_startup_timeout_seconds() {
let simulation = [
Connect,
//
Sleep(Duration::from_millis(100)),
Sleep(Duration::MAX),
Copy link
Contributor

Choose a reason for hiding this comment

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

will def timeout

Copy link
Member Author

Choose a reason for hiding this comment

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

the intention is that we kill it before then

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry. Color commentary.

Copy link
Contributor

Choose a reason for hiding this comment

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

Missing 🤣 or something

@github-actions
Copy link

Bigtest for 8df8c79 (run)

Benchmarks:

  • RSpec: % overhead
    • RSpec time: seconds
    • ABQ time: seconds
  • RSpec parallel, 10 runs: max % overhead
    • min % overhead
    • standard deviation: %
  • Jest: % overhead
    • Jest time: seconds
    • ABQ time: seconds

Fuzz result sizes:

  • PASSED

@github-actions
Copy link

Bigtest for 8df8c79 (run)

Benchmarks:

  • RSpec: 14.33% overhead
    • RSpec time: 17.72 seconds
    • ABQ time: 20.26 seconds
  • RSpec parallel, 10 runs: max 15.63% overhead
    • min 7.34% overhead
    • standard deviation: 3.10%
  • Jest: 7.12% overhead
    • Jest time: 21.055 seconds
    • ABQ time: 22.555 seconds

Fuzz result sizes:

  • PASSED

@ayazhafiz ayazhafiz merged commit e757bb4 into main May 30, 2023
17 of 18 checks passed
@ayazhafiz ayazhafiz deleted the configure-abq-protocol-version-timeout branch May 30, 2023 16: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.

None yet

2 participants