Skip to content

Commit

Permalink
common/fdlimit: fix linter warning (ethereum#25192)
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet authored and gzliudan committed Jul 29, 2024
1 parent cb36c11 commit 4f169ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/fdlimit/fdlimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package fdlimit

import (
"fmt"
"testing"
)

Expand All @@ -30,7 +29,7 @@ func TestFileDescriptorLimits(t *testing.T) {
t.Fatal(err)
}
if hardlimit < target {
t.Skip(fmt.Sprintf("system limit is less than desired test target: %d < %d", hardlimit, target))
t.Skipf("system limit is less than desired test target: %d < %d", hardlimit, target)
}

if limit, err := Current(); err != nil || limit <= 0 {
Expand Down

0 comments on commit 4f169ba

Please sign in to comment.