integration test around receive before publish

This commit is contained in:
David Zhao
2021-02-02 22:53:48 -08:00
parent 88e247d95a
commit d117cce37b
6 changed files with 102 additions and 11 deletions
+1
View File
@@ -104,6 +104,7 @@ func waitForServerToStart(s *service.LivekitServer) {
}
func withTimeout(t *testing.T, description string, f func() bool) bool {
logger.Infow(description)
ctx, _ := context.WithTimeout(context.Background(), connectTimeout)
for {
select {