nix(loadtest): run more requests in jwt-cache test
We don't need to restrict us to run every request once. Instead we can run as many as possible within 60s by removing the `-lazy` flag. This also allows us to generate fewer targets, because vegeta will do the repetition for us.
This commit is contained in:
@@ -73,7 +73,7 @@ let
|
||||
${withTools.withPg} -f "$_arg_testdir"/fixtures.sql \
|
||||
${withTools.withPgrst} --faketime '2000-01-01 00:00:00' -m "$_arg_monitor" \
|
||||
sh -c "cd \"$_arg_testdir\" && \
|
||||
${runner} -lazy -targets gen_targets.http -output \"$abs_output\" \"''${_arg_leftovers[@]}\""
|
||||
${runner} -targets gen_targets.http -output \"$abs_output\" \"''${_arg_leftovers[@]}\""
|
||||
;;
|
||||
|
||||
# here we sleep purposefully to check how much memory does the schema cache consume in the final report
|
||||
|
||||
Reference in New Issue
Block a user