remove sleep from tests (#2555)
This commit is contained in:
committed by
Daniel Nelson
parent
6588c4a1a7
commit
c65cfb6a6e
@@ -66,7 +66,6 @@ func TestUDPClient_Write(t *testing.T) {
|
||||
}()
|
||||
|
||||
// test sending simple metric
|
||||
time.Sleep(time.Second)
|
||||
n, err := client.Write([]byte("cpu value=99\n"))
|
||||
assert.Equal(t, n, 13)
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user