mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Break loop when looking for joined events if no hello matched.
This commit is contained in:
parent
535a36042c
commit
aefa5c9e36
1 changed files with 3 additions and 1 deletions
|
|
@ -886,7 +886,9 @@ func (c *TestClient) RunUntilJoinedAndReturn(ctx context.Context, hello ...*Hell
|
|||
}
|
||||
}
|
||||
}
|
||||
c.assert.True(found, "expected one of the passed hello sessions, got %+v", message.Event.Join)
|
||||
if !c.assert.True(found, "expected one of the passed hello sessions, got %+v", message.Event.Join) {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
return received, ignored, true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue