mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-20 08:26:31 +00:00
control order by sending msgs from one goroutine
This commit is contained in:
@ -339,8 +339,6 @@ func TestMConnectionTrySend(t *testing.T) {
|
|||||||
go func() {
|
go func() {
|
||||||
mconn.TrySend(0x01, msg)
|
mconn.TrySend(0x01, msg)
|
||||||
resultCh <- "TrySend"
|
resultCh <- "TrySend"
|
||||||
}()
|
|
||||||
go func() {
|
|
||||||
mconn.Send(0x01, msg)
|
mconn.Send(0x01, msg)
|
||||||
resultCh <- "Send"
|
resultCh <- "Send"
|
||||||
}()
|
}()
|
||||||
|
Reference in New Issue
Block a user