[process] extend maxElapsedTime on process_test

pull/1138/head
shirou 4 years ago
parent 9e82343ffb
commit 7be7e7807f

@ -473,7 +473,7 @@ func Test_Process_CreateTime(t *testing.T) {
}
gotElapsed := time.Since(time.Unix(int64(c/1000), 0))
maxElapsed := time.Duration(5 * time.Second)
maxElapsed := time.Duration(20 * time.Second)
if gotElapsed >= maxElapsed {
t.Errorf("this process has not been running for %v", gotElapsed)

@ -475,7 +475,7 @@ func Test_Process_CreateTime(t *testing.T) {
}
gotElapsed := time.Since(time.Unix(int64(c/1000), 0))
maxElapsed := time.Duration(5 * time.Second)
maxElapsed := time.Duration(20 * time.Second)
if gotElapsed >= maxElapsed {
t.Errorf("this process has not been running for %v", gotElapsed)

Loading…
Cancel
Save