mirror of
https://github.com/libp2p/go-libp2p-resource-manager.git
synced 2025-03-10 01:00:41 +08:00
Fix less check on my machine
This commit is contained in:
parent
eb72b52bd8
commit
3a9ac22a9f
@ -13,7 +13,7 @@ func TestFileDescriptorCounting(t *testing.T) {
|
||||
}
|
||||
n := getNumFDs()
|
||||
require.NotZero(t, n)
|
||||
require.Less(t, n, int(1e6))
|
||||
require.Less(t, n, int(1e7))
|
||||
}
|
||||
|
||||
func TestScaling(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user