-
-
Notifications
You must be signed in to change notification settings - Fork 8
Labels
Description
Hello,
I started rewriting grpctestify in Rust and discovered some interesting behavior in the original Bash version — it seems to have a race condition.
As a result, I’m seeing inconsistent test outcomes between the old and the new implementations.
Steps to reproduce:
$ go run main.go examples -s examples
$ grpctestify examples # <- old version passes successfully
$ grpctestify-rust examples # <- new version fails on one test
The failing test in the Rust version:
❌ Failed Tests:
• examples/projects/identifier/case_success_strict_ordered.gctf (6042ms)
However, if I run that specific test directly using the old Bash version:
$ grpctestify examples/projects/identifier/case_success_strict_ordered.gctf
It fails as well:
❌ Failed Tests:
• examples/projects/identifier/case_success_strict_ordered.gctf (176ms)
So the interesting case is that:
- Running the full test suite with the old version passes.
- Running the same specific test individually with the old version fails.
- The Rust version fails consistently when running the full suite.
This suggests a race condition or hidden dependency between tests in the original Bash implementation.
Reactions are currently unavailable