diff --git a/pkg/codec/vpx/vpx_test.go b/pkg/codec/vpx/vpx_test.go index bb661d6..e6c4257 100644 --- a/pkg/codec/vpx/vpx_test.go +++ b/pkg/codec/vpx/vpx_test.go @@ -512,9 +512,7 @@ func TestVP8EncodeDecode(t *testing.T) { } } writer.Close() - - // ✅ wait until decoder goroutine is done wg.Wait() - assert.Equal(t, counter, totalFrames) + assert.Equal(t, totalFrames, counter) }) }