johnsonjh / gfsmux

gfsmux: Efficient stream multiplexing for Go

Home Page:https://github.com/johnsonjh/gfsmux/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(SCC-SA2002) Called `testing.T.FailNow` or `testing.T.SkipNow` in a goroutine

johnsonjh opened this issue · comments

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/

⚠️ This has been marked to be closed in 7 days.