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

Flaky test in ./spec/parallel_spec.rb:478 #310

Closed
dleidert opened this issue Nov 17, 2021 · 0 comments · Fixed by #313
Closed

Flaky test in ./spec/parallel_spec.rb:478 #310

dleidert opened this issue Nov 17, 2021 · 0 comments · Fixed by #313

Comments

@dleidert
Copy link

Hi,

we observe random test failures at the same place in your tests. I actually wasn't able to reproduce them locally, but our build-daemons and CI pipelines show them:

Failures:
  1) Parallel.map sets Parallel.worker_number when run with isolation
     Failure/Error: out.should == "0,1\nOK"
       expected: "0,1\nOK"
            got: "0,1\nFAIL: before:18 -- after:17" (using ==)
       Diff:
       @@ -1,3 +1,3 @@
        0,1
       -OK
       +FAIL: before:18 -- after:17
     # ./spec/parallel_spec.rb:478:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:9:in `block (2 levels) in <top (required)>'

https://bugs.debian.org/996346
https://salsa.debian.org/ruby-team/ruby-parallel/-/jobs/2187476#L1724
https://salsa.debian.org/ruby-team/ruby-parallel/-/jobs/2187472#L1677

Maybe you can improve the stability of this test? It seems you have experienced problems with it on travis as well.

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 a pull request may close this issue.

1 participant