aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fuzzer/runners/http_fuzzer_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fuzzer/runners/http_fuzzer_test.sh')
-rw-r--r--tools/fuzzer/runners/http_fuzzer_test.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/fuzzer/runners/http_fuzzer_test.sh b/tools/fuzzer/runners/http_fuzzer_test.sh
index 66d68db3da..d8dde1491e 100644
--- a/tools/fuzzer/runners/http_fuzzer_test.sh
+++ b/tools/fuzzer/runners/http_fuzzer_test.sh
@@ -29,7 +29,14 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/ -max_len=2048"
+flags="-max_total_time=$runtime -artifact_prefix=fuzzer_output/ -max_len=2048 -timeout=120"
+
+
+if [ "$jobs" != "1" ]
+then
+ flags="-jobs=$jobs -workers=$jobs $flags"
+fi
+
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"