aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fuzzer/runners/http_fuzzer_test.sh
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-26 13:00:44 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-26 13:00:44 -0700
commit89c5cb596df9f3bbbf1d024fb59df2b799c85fba (patch)
treebb9ae905ada472eb788c485b09dd8db214fb227d /tools/fuzzer/runners/http_fuzzer_test.sh
parent6c8ae9aad5f1aaaf9c043817e184ec26bee75c86 (diff)
parentc3d869ef5853c4cfad57b7d3694d5260eeb7ce75 (diff)
Merge github.com:grpc/grpc into split-me-baby-one-more-time
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"