pull/164/head
longXboy 5 years ago
parent eb0129cba4
commit b532e35653
  1. 2
      pkg/stat/sys/cpu/psutilCPU_test.go

@ -11,7 +11,7 @@ func Test_PsutilCPU(t *testing.T) {
if err != nil { if err != nil {
t.Fatalf("newPsutilCPU failed!err:=%v", err) t.Fatalf("newPsutilCPU failed!err:=%v", err)
} }
time.Sleep(time.Millisecond * 2600) time.Sleep(time.Millisecond * 4600)
for i := 0; i < 6; i++ { for i := 0; i < 6; i++ {
time.Sleep(time.Millisecond * 600) time.Sleep(time.Millisecond * 600)
u, err := cpu.Usage() u, err := cpu.Usage()

Loading…
Cancel
Save