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 f16d228f6f
commit 1b98b0fa90

View File

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