Fix: pool gc test

This commit is contained in:
gVisor bot 2020-09-21 00:44:47 +08:00
parent df718971f1
commit 54f30ed13e

View File

@ -84,6 +84,7 @@ func TestPool_AutoGC(t *testing.T) {
elm, _ := pool.Get()
assert.Equal(t, 0, elm.(int))
pool.Put(2)
pool = nil
runtime.GC()