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:
parent
f16d228f6f
commit
1b98b0fa90
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user