Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Commit

Permalink
it is non-deterministic (could fail sometimes)
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes committed Apr 20, 2017
1 parent 17ec70f commit 8655e24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ func TestMConnectionSend(t *testing.T) {
assert.True(mconn.Send(0x01, msg))
// Note: subsequent Send/TrySend calls could pass because we are reading from
// the send queue in a separate goroutine.
assert.False(mconn.CanSend(0x01), "CanSend should return false because queue is full")
server.Read(make([]byte, len(msg)))
assert.True(mconn.CanSend(0x01))

Expand Down

0 comments on commit 8655e24

Please sign in to comment.