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
|
//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()
|
||||||
|
Loading…
Reference in New Issue
Block a user