From 6f9391571aa2e4422d298b1cb871584c60172d4c Mon Sep 17 00:00:00 2001 From: Larry Rios Date: Wed, 7 Aug 2024 16:20:42 -0500 Subject: [PATCH] changing dest --- core/opl/args.py | 1 + opl/args.py | 1 + 2 files changed, 2 insertions(+) diff --git a/core/opl/args.py b/core/opl/args.py index d63b61a..84b1372 100644 --- a/core/opl/args.py +++ b/core/opl/args.py @@ -324,6 +324,7 @@ def add_locust_opts(parser): ) parser.add_argument( "--test-requests", + dest="test_requests", type=int, default=os.getenv("TEST_REQUESTS", 0), help="Number of requests - if non-0, this overrides test duration (also use env variable TEST_REQUESTS)", diff --git a/opl/args.py b/opl/args.py index d63b61a..84b1372 100644 --- a/opl/args.py +++ b/opl/args.py @@ -324,6 +324,7 @@ def add_locust_opts(parser): ) parser.add_argument( "--test-requests", + dest="test_requests", type=int, default=os.getenv("TEST_REQUESTS", 0), help="Number of requests - if non-0, this overrides test duration (also use env variable TEST_REQUESTS)",