[process] extend maxElapsedTime on process_test

This commit is contained in:
shirou 2021-09-30 07:47:05 +00:00
parent 9e82343ffb
commit 7be7e7807f
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)