mirror of https://github.com/panjf2000/ants.git
update go test
This commit is contained in:
parent
1dac82c4c5
commit
1f12f5a4d2
|
@ -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