Browse Source

fix race condition

pull/1132/head
Darien Raymond 7 years ago
parent
commit
0e27fac290
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      transport/internet/udp/dispatcher_test.go

2
transport/internet/udp/dispatcher_test.go

@ -72,5 +72,5 @@ func TestSameDestinationDispatching(t *testing.T) {
cancel()
assert(count, Equals, uint32(1))
assert(msgCount, Equals, uint32(6))
assert(atomic.LoadUint32(&msgCount), Equals, uint32(6))
}

Loading…
Cancel
Save