Skip to content

Commit

Permalink
Test monitoring filesystem radio (#3665)
Browse files Browse the repository at this point in the history
## Type of change

- Code maintenance/cleanup
  • Loading branch information
benclifford authored Oct 29, 2024
1 parent 20faa35 commit 1e27234
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion parsl/tests/test_monitoring/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ def htex_udp_config():
return c


def htex_filesystem_config():
"""This config will force filesystem radio"""
from parsl.tests.configs.htex_local_alternate import fresh_config
c = fresh_config()
assert len(c.executors) == 1

assert c.executors[0].radio_mode == "htex", "precondition: htex has a radio mode attribute, configured for htex radio"
c.executors[0].radio_mode = "filesystem"

return c


def workqueue_config():
from parsl.tests.configs.workqueue_ex import fresh_config
c = fresh_config()
Expand All @@ -61,7 +73,7 @@ def taskvine_config():


@pytest.mark.local
@pytest.mark.parametrize("fresh_config", [htex_config, htex_udp_config, workqueue_config, taskvine_config])
@pytest.mark.parametrize("fresh_config", [htex_config, htex_filesystem_config, htex_udp_config, workqueue_config, taskvine_config])
def test_row_counts(tmpd_cwd, fresh_config):
# this is imported here rather than at module level because
# it isn't available in a plain parsl install, so this module
Expand Down

0 comments on commit 1e27234

Please sign in to comment.