mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-03 18:42:14 +00:00
control order by sending msgs from one goroutine
This commit is contained in:
parent
5834a59816
commit
4e2000abfe
@ -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"
|
||||||
}()
|
}()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user