mirror of https://github.com/panjf2000/ants.git
update go test
This commit is contained in:
commit
f52474a42a
|
@ -52,7 +52,7 @@ func TestAntsPoolWithFunc(t *testing.T) {
|
|||
mem := runtime.MemStats{}
|
||||
runtime.ReadMemStats(&mem)
|
||||
curMem = mem.TotalAlloc / MiB - curMem
|
||||
t.Logf("memory usage:%d", curMem)
|
||||
t.Logf("memory usage:%d MB", curMem)
|
||||
}
|
||||
func TestNoPool(t *testing.T) {
|
||||
var wg sync.WaitGroup
|
||||
|
|
Loading…
Reference in New Issue