Cleanup from PR comments

This commit is contained in:
Ethan Frey
2017-12-08 10:07:04 +01:00
parent cc7a87e27c
commit ec4adf21e0
3 changed files with 12 additions and 15 deletions

View File

@@ -95,9 +95,6 @@ func TestThrottle(test *testing.T) {
stopped := t.Stop()
assert.True(stopped)
time.Sleep(longwait)
assert.Equal(5, c.Count())
// extra calls to stop don't block
t.Stop()
}