From 4e2000abfe50b929a6a62f8131e7d509e66d3aa3 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 10 Jan 2018 20:24:42 -0600 Subject: [PATCH] control order by sending msgs from one goroutine --- p2p/conn/connection_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/p2p/conn/connection_test.go b/p2p/conn/connection_test.go index 863642113..23b7078e8 100644 --- a/p2p/conn/connection_test.go +++ b/p2p/conn/connection_test.go @@ -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" }()