-
Notifications
You must be signed in to change notification settings - Fork 112
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
Enforce zebra_test::command timeouts regardless of command output #1140
Labels
A-rust
Area: Updates to Rust code
C-bug
Category: This is a bug
I-integration-fail
Continuous integration fails, including build and test failures
Comments
teor2345
added
C-bug
Category: This is a bug
S-needs-triage
Status: A bug report needs triage
labels
Oct 9, 2020
teor2345
added a commit
to teor2345/zebra
that referenced
this issue
Oct 9, 2020
And add tests for the command functionality. Also document some remaining bugs (see ZcashFoundation#1140).
teor2345
added a commit
to teor2345/zebra
that referenced
this issue
Oct 11, 2020
Some of these tests are ignored, because they trigger known TestDirExt bugs. See ZcashFoundation#1140 for details.
dconnolly
pushed a commit
that referenced
this issue
Oct 15, 2020
And add tests for the command functionality. Also document some remaining bugs (see #1140).
dconnolly
pushed a commit
that referenced
this issue
Oct 15, 2020
Some of these tests are ignored, because they trigger known TestDirExt bugs. See #1140 for details.
If we had this fix, we could probably have diagnosed the hang in #1773:
(after 1 hour) |
teor2345
added
A-rust
Area: Updates to Rust code
I-integration-fail
Continuous integration fails, including build and test failures
P-Medium
labels
Feb 18, 2021
1 task
This hasn't been much of a problem recently, we fixed all the hangs. |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-rust
Area: Updates to Rust code
C-bug
Category: This is a bug
I-integration-fail
Continuous integration fails, including build and test failures
Version
zebra-test 3.0.0-alpha.0 (current main branch, commit eaf5473)
Platform
Linux 5.4.68 #1-NixOS SMP x86_64 GNU/Linux
Description
The
zebra_test::command
acceptance test framework contains a few undocumented surprises. The timeout is only checked inexpect_stdout
, and only after each newline. And the timeout kill check is inverted. (It appears that it has never been tested.)Here's what I think we should fix:
zebra-test/tests/command.rs
wait_with_output
The text was updated successfully, but these errors were encountered: