[process] extend maxElapsedTime on process_test
This commit is contained in:
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…
Reference in New Issue