You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brilliant! Thanks for the detailed reproduction steps. We've seen this here and there for a while but never put 2 and 2 together and realized it was an issue only when running in parallel.
Turns out this is a weirdness with how Go was JSON encoding/decoding the forwardedPanic (type interface{}). I've turned it into a string and all is well now.
A panic of the form "runtime error: invalid memory address or nil pointer dereference" is displayed by ginkgo running in parallel mode as:
The map[] is a red herring.
Compare the diagnostics from the same test suite running serially:
which is much better.
See this gist for a trivial test suite which panics. To reproduce the bug, place the test suite in a directory named
temp
, cd in, and issueginkgo -p
.The text was updated successfully, but these errors were encountered: