now asserting succesful client creation after calling connectClient()

THis way conenctClient(0 can be used also for cases where client
connection
is not successful.
This commit is contained in:
Erik Brakkee 2024-08-24 20:44:12 +02:00
parent 9bff8db297
commit 1ec7241c95

View File

@ -177,7 +177,6 @@ func (s *MatchMakerTestSuite) connectClient(publicId models.RendezVousId) (*Test
//server
clientIdCreated, synchronizer, err := s.matchMaker.Connect(false, publicId, client.serverSIdeConn)
clientId = clientIdCreated
s.Nil(err)
if err == nil {
log.Println("test: synchronizing streams.")
go synchronizer()