bench: Require valid url for server_url

Change-Id: Ic37ef86c2255539007f71f30003a05ca6ed9eaee
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami committed 2026-09-24 18:34:19 +00:00
1 parent e95097b897
commit dd151e3c68
1 file changed
+3 -1
+3 -1
View File
@@ -65,7 +65,9 @@ _CLI_OPTIONS = (
cfg.IntOpt('time', short='t', default=5,
help="Duration of the performance test, in seconds"),
cfg.StrOpt('server_url', short='s', default='http://localhost:8888'),
cfg.URIOpt('server_url', short='s',
default='http://localhost:8888',
schemes=['http', 'https']),
cfg.StrOpt('queue_prefix', short='q', default='ogre-test-queue'),
cfg.IntOpt('num_queues', short='qno', default=4),