Skip to content

Commit 5d90cdd

Browse files
committed
Merge branch 'main' into file_staging
2 parents 31471c7 + 89e263a commit 5d90cdd

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
@@ -57,7 +57,7 @@ def pytest_addoption(parser):
5757
help='Maximum age, in hours, of tests to keep saved.')
5858
parser.addoption('--id', action='store', default='hostname',
5959
help='An identifier for this site to attach to tests when aggregated.')
60-
parser.addoption('--server-url', action='store', default='https://testing.exaworks.org',
60+
parser.addoption('--server-url', action='store', default='https://testing.psij.io',
6161
help='The base URL of the test aggregation server.')
6262
parser.addoption('--key', action='store', default='random',
6363
help='A secret to use when communicating to the aggregation server.')
@@ -69,6 +69,8 @@ def pytest_addoption(parser):
6969
help='Pretend that the current git branch is this value.')
7070
parser.addoption('--queue-name', action='store', default=None,
7171
help='A queue to run the batch jobs in.')
72+
parser.addoption('--multi-node-queue-name', action='store', default=None,
73+
help='An optional queue to run multi-node batch jobs in.')
7274
parser.addoption('--project-name', action='store', default=None,
7375
help='A project/account name to associate the batch jobs with.')
7476
parser.addoption('--account', action='store', default=None,
@@ -196,6 +198,7 @@ def pytest_generate_tests(metafunc):
196198
etps = []
197199
for x in _get_executors((metafunc.config)):
198200
etp = ExecutorTestParams(x, queue_name=options.queue_name,
201+
multi_node_queue_name=options.multi_node_queue_name,
199202
account=_get_account(options),
200203
custom_attributes_raw=options.custom_attributes)
201204
etps.append(etp)

0 commit comments

Comments
 (0)