mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-17 13:10:53 +08:00
fix race condition in tests (#3834)
This commit is contained in:
@@ -78,5 +78,7 @@ func TestFromStreamSkipUnsupportedTracks(t *testing.T) {
|
||||
|
||||
err = FromStream(stream, l, conn, nil, 0)
|
||||
require.NoError(t, err)
|
||||
defer stream.RemoveReader(l)
|
||||
|
||||
require.Equal(t, 2, n)
|
||||
}
|
||||
|
Reference in New Issue
Block a user