control order by sending msgs from one goroutine

This commit is contained in:
Anton Kaliaev
2018-01-10 20:24:42 -06:00
parent 5834a59816
commit 4e2000abfe

View File

@ -339,8 +339,6 @@ func TestMConnectionTrySend(t *testing.T) {
go func() {
mconn.TrySend(0x01, msg)
resultCh <- "TrySend"
}()
go func() {
mconn.Send(0x01, msg)
resultCh <- "Send"
}()