Browse Source

it is non-deterministic (could fail sometimes)

pull/456/head
Anton Kaliaev 8 years ago
parent
commit
8655e2456e
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      connection_test.go

+ 0
- 1
connection_test.go View File

@ -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))


Loading…
Cancel
Save