Called testing.T.FailNow or testing.T.SkipNow in a goroutine SCC-SA2002
Bug risk
Major
2 occurrences in this check
the goroutine calls T.Fatal, which must be called in the same goroutine as the test
 592	var wg sync.WaitGroup
 593	for i := 0; i < testCount; i++ {
 594		wg.Add(1)
 595		go func() { 596			defer wg.Done()
 597			f, err := os.Open("sample-playlists/media-playlist-large.m3u8")
 598			if err != nil {
the goroutine calls T.Fatalf, which must be called in the same goroutine as the test
 592	var wg sync.WaitGroup
 593	for i := 0; i < testCount; i++ {
 594		wg.Add(1)
 595		go func() { 596			defer wg.Done()
 597			f, err := os.Open("sample-playlists/media-playlist-large.m3u8")
 598			if err != nil {