Fix data publish test (#113)

This commit is contained in:
David Zhao
2021-09-12 00:25:36 -07:00
committed by GitHub
parent 66997b37f9
commit 95a5e3ca85
2 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ func scenarioDataPublish(t *testing.T) {
}
}
require.NoError(t, c1.PublishData([]byte(payload), livekit.DataPacket_LOSSY))
require.NoError(t, c1.PublishData([]byte(payload), livekit.DataPacket_RELIABLE))
testutils.WithTimeout(t, "waiting for c2 to receive data", func() bool {
return received.Get()