Skip to content

Commit 48cf54a

Browse files
committed
This was meant to be part of PR #504
1 parent 12e349a commit 48cf54a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def pytest_addoption(parser):
5555
help='Maximum age, in hours, of tests to keep saved.')
5656
parser.addoption('--id', action='store', default='hostname',
5757
help='An identifier for this site to attach to tests when aggregated.')
58-
parser.addoption('--server-url', action='store', default='https://testing.exaworks.org',
58+
parser.addoption('--server-url', action='store', default='https://testing.psij.io',
5959
help='The base URL of the test aggregation server.')
6060
parser.addoption('--key', action='store', default='random',
6161
help='A secret to use when communicating to the aggregation server.')
@@ -67,6 +67,8 @@ def pytest_addoption(parser):
6767
help='Pretend that the current git branch is this value.')
6868
parser.addoption('--queue-name', action='store', default=None,
6969
help='A queue to run the batch jobs in.')
70+
parser.addoption('--multi-node-queue-name', action='store', default=None,
71+
help='An optional queue to run multi-node batch jobs in.')
7072
parser.addoption('--project-name', action='store', default=None,
7173
help='A project/account name to associate the batch jobs with.')
7274
parser.addoption('--account', action='store', default=None,
@@ -176,6 +178,7 @@ def pytest_generate_tests(metafunc):
176178
etps = []
177179
for x in _get_executors((metafunc.config)):
178180
etp = ExecutorTestParams(x, queue_name=options.queue_name,
181+
multi_node_queue_name=options.multi_node_queue_name,
179182
account=_get_account(options),
180183
custom_attributes_raw=options.custom_attributes)
181184
etps.append(etp)

0 commit comments

Comments
 (0)