From 7be7e7807fb13bf87ed1eace344f563e29d97f3d Mon Sep 17 00:00:00 2001 From: shirou Date: Thu, 30 Sep 2021 07:47:05 +0000 Subject: [PATCH] [process] extend maxElapsedTime on process_test --- process/process_test.go | 2 +- v3/process/process_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/process/process_test.go b/process/process_test.go index 495af051..5671a4a1 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 a8b5645f..7c95d9bc 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)