@@ -140,10 +140,10 @@ func TestMultiNodeMutePublishedTrack(t *testing.T) {
|
||||
Identity: identity,
|
||||
})
|
||||
require.NoError(t, err)
|
||||
if len(res.Tracks) == 2 {
|
||||
if len(res.Tracks) == 3 {
|
||||
return ""
|
||||
} else {
|
||||
return fmt.Sprintf("expected two tracks to be published, actual: %d", len(res.Tracks))
|
||||
return fmt.Sprintf("expected three tracks to be published, actual: %d", len(res.Tracks))
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -420,7 +420,7 @@ func TestSingleNodeUpdateSubscriptionPermissions(t *testing.T) {
|
||||
if pubRemote == nil {
|
||||
return "could not find remote publisher"
|
||||
}
|
||||
if len(pubRemote.Tracks) != 2 {
|
||||
if len(pubRemote.Tracks) != 3 {
|
||||
return "did not receive metadata for published tracks"
|
||||
}
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user