diff options
author | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2020-12-07 10:50:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 10:50:11 -0800 |
commit | b0b99d5ccdf5e2e49cfe3138fbcf64e6fef6ea7f (patch) | |
tree | 4afa704c82330c785a468ecfe5097314e7b06365 /infra/retry.py | |
parent | a24cebec02a0c97247bef31963d5f5fadbaa4ebf (diff) | |
download | oss-fuzz-b0b99d5ccdf5e2e49cfe3138fbcf64e6fef6ea7f.tar.gz |
Cifuzz external build (#4656)
* Support building fuzzers for projects outside of OSS-Fuzz
* Use retry wrapper
* Fix some tests.
Diffstat (limited to 'infra/retry.py')
-rw-r--r-- | infra/retry.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/infra/retry.py b/infra/retry.py index 4205319ea..293da998e 100644 --- a/infra/retry.py +++ b/infra/retry.py @@ -35,7 +35,6 @@ def get_delay(num_try, delay, backoff): def wrap(retries, delay, - function, backoff=2, exception_type=Exception, retry_on_false=False): @@ -49,7 +48,7 @@ def wrap(retries, """Decorator for the given function.""" tries = retries + 1 is_generator = inspect.isgeneratorfunction(func) - function_with_type = function + function_with_type = func.__qualname__ if is_generator: function_with_type += ' (generator)' |