mirror of https://github.com/google/oss-fuzz.git
[retry]: Fix empty message handling (#8631)
Add in empty ValueError handling for solving issue 51692 (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51962)
This commit is contained in:
parent
9fe6093ede
commit
31a99be20d
|
@ -54,7 +54,7 @@ def TestInput(data):
|
|||
delay=fdp.ConsumeIntInRange(1,10),
|
||||
logger=None
|
||||
)
|
||||
except TestingError:
|
||||
except (TestingError, ValueError):
|
||||
# Expected when retry limit is reached
|
||||
pass
|
||||
|
||||
|
@ -74,7 +74,7 @@ def TestInput(data):
|
|||
try:
|
||||
wrapper_one()
|
||||
wrapper_two()
|
||||
except TestingError:
|
||||
except (TestingError, ValueError):
|
||||
# Expected when retry limit it reached
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue