(SCC-SA2002) Called `testing.T.FailNow` or `testing.T.SkipNow` in a goroutine
johnsonjh opened this issue · comments
Jeffrey H. Johnson commented
Description
Calling t.Testing.FailNow
or t.Testing.SkipNow
in a goroutine isn't allowed. testing.T.FailNow or testing.T.SkipNow must be called from the goroutine running the test or benchmark function, not from other goroutines created during the test. Calling FailNow
does not stop those other goroutines.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/johnsonjh/gfsmux/issue/SCC-SA2002/occurrences/
repo-ranger commented