fix(tests): don't reuse client ids
@@ -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"},
@@ -260,7 +260,7 @@ func TestSFU_SessionScenarios(t *testing.T) {
},
{
actions: []*action{{
- id: "remote1",
+ id: "remote2",
kind: "unpublish",
media: []media{
{kind: "audio", id: "stream1", tid: "audio1"},
@@ -268,16 +268,6 @@ func TestSFU_SessionScenarios(t *testing.T) {
},
}},
},
- {
- actions: []*action{{
- id: "remote2",
- kind: "publish",
- media: []media{
- {kind: "audio", id: "stream4", tid: "audio4"},
- {kind: "video", id: "stream4", tid: "video4"},
- },
- }},
- },
},
},
}
