mirror of
https://github.com/livekit/livekit.git
synced 2026-05-25 18:34:55 +00:00
working CI test workflow, more reliable transport_test
This commit is contained in:
@@ -340,7 +340,6 @@ func (c *RTCClient) ReadResponse() (*livekit.SignalResponse, error) {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: this function is not thread safe, need to cleanup
|
||||
func (c *RTCClient) SubscribedTracks() map[string][]*webrtc.TrackRemote {
|
||||
// create a copy of this
|
||||
c.lock.Lock()
|
||||
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/livekit/livekit-server/pkg/logger"
|
||||
testclient "github.com/livekit/livekit-server/test/client"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
@@ -40,6 +41,9 @@ func TestSinglePublisher(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
logger.Infow("\n\n---Starting TestSinglePublisher---")
|
||||
defer logger.Infow("---Finishing TestSinglePublisher---")
|
||||
|
||||
s := setupSingleNodeTest(testRoom)
|
||||
defer func() {
|
||||
teardownTest(s, testRoom)
|
||||
|
||||
Reference in New Issue
Block a user