Skip to content

Commit

Permalink
fix(tests): don't reuse client ids
Browse files Browse the repository at this point in the history
  • Loading branch information
OrlandoCo committed Feb 5, 2021
1 parent 2d25b01 commit 6dca09e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pkg/sfu/sfu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func TestSFU_SessionScenarios(t *testing.T) {
{
actions: []*action{{
id: "remote1",
kind: "publish",
kind: "unpublish",
media: []media{
{kind: "audio", id: "stream3", tid: "audio3"},
{kind: "video", id: "stream3", tid: "video3"},
Expand All @@ -260,24 +260,14 @@ func TestSFU_SessionScenarios(t *testing.T) {
},
{
actions: []*action{{
id: "remote1",
id: "remote2",
kind: "unpublish",
media: []media{
{kind: "audio", id: "stream1", tid: "audio1"},
{kind: "video", id: "stream1", tid: "video1"},
},
}},
},
{
actions: []*action{{
id: "remote2",
kind: "publish",
media: []media{
{kind: "audio", id: "stream4", tid: "audio4"},
{kind: "video", id: "stream4", tid: "video4"},
},
}},
},
},
},
}
Expand Down

0 comments on commit 6dca09e

Please sign in to comment.