fix(sfu): simplify test
@@ -147,84 +147,6 @@ func TestSFU_SessionScenarios(t *testing.T) {
name string
steps []step
}{
- {
- name: "Sequential join",
- steps: []step{
- {
- actions: []*action{{
- id: "remote1",
- kind: "join",
- }},
- },
- {
- actions: []*action{{
- id: "remote1",
- kind: "publish",
- media: []media{
- {kind: "audio", id: "stream1", tid: "audio"},
- {kind: "video", id: "stream1", tid: "video"},
- },
- }},
- },
- {
- actions: []*action{{
- id: "remote2",
- kind: "join",
- }},
- },
- {
- actions: []*action{{
- id: "remote2",
- kind: "publish",
- media: []media{
- {kind: "audio", id: "stream2", tid: "audio"},
- {kind: "video", id: "stream2", tid: "video"},
- },
- }},
- },
- },
- },
- {
- name: "Concurrent join + publish",
- steps: []step{
- {
- actions: []*action{{
- id: "remote1",
- kind: "join",
- }, {
- id: "remote2",
- kind: "join",
- }, {
- id: "remote3",
- kind: "join",
- }},
- },
- {
- actions: []*action{{
- id: "remote1",
- kind: "publish",
- media: []media{
- {kind: "audio", id: "stream1", tid: "audio"},
- {kind: "video", id: "stream1", tid: "video"},
- },
- }, {
- id: "remote2",
- kind: "publish",
- media: []media{
- {kind: "audio", id: "stream2", tid: "audio"},
- {kind: "video", id: "stream2", tid: "video"},
- },
- }, {
- id: "remote3",
- kind: "publish",
- media: []media{
- {kind: "audio", id: "stream3", tid: "audio"},
- {kind: "video", id: "stream3", tid: "video"},
- },
- }},
- },
- },
- },
{
name: "Multiple stream publish",
steps: []step{
