diff --git a/process/process_test.go b/process/process_test.go index 495af05..5671a4a 100644 --- a/process/process_test.go +++ b/process/process_test.go @@ -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) diff --git a/v3/process/process_test.go b/v3/process/process_test.go index a8b5645..7c95d9b 100644 --- a/v3/process/process_test.go +++ b/v3/process/process_test.go @@ -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)