Skip to content

Commit

Permalink
[process] extend maxElapsedTime on process_test
Browse files Browse the repository at this point in the history
  • Loading branch information
shirou committed Sep 30, 2021
1 parent 9e82343 commit 7be7e78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion process/process_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion v3/process/process_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7be7e78

Please sign in to comment.