les, tests: fix vflux fuzzer by removing unnecessary panic (#24537)
This commit is contained in:
@ -267,9 +267,7 @@ func FuzzClientPool(input []byte) int {
|
||||
bias = f.randomDelay()
|
||||
requested = f.randomBool()
|
||||
)
|
||||
if _, err := pool.SetCapacity(f.peers[index].node, reqCap, bias, requested); err == vfs.ErrCantFindMaximum {
|
||||
panic(nil)
|
||||
}
|
||||
pool.SetCapacity(f.peers[index].node, reqCap, bias, requested)
|
||||
doLog("Set capacity", "id", f.peers[index].node.ID(), "reqcap", reqCap, "bias", bias, "requested", requested)
|
||||
case 7:
|
||||
index := f.randomByte()
|
||||
|
Reference in New Issue
Block a user