Skip to content

Commit

Permalink
Remove test that hangs in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
amaslenn committed May 16, 2024
1 parent 168b0f7 commit b35f84a
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions tests/test_acceptance.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
Path("conf/v0.6/general/test_scenario/ucc_test/test_scenario.toml"),
]

STANDALONE_TEST_SCENARIOS = [
Path("conf/v0.6/general/test_scenario/sleep/test_scenario.toml"),
]


@pytest.mark.parametrize("test_scenario_path", SLURM_TEST_SCENARIOS, ids=lambda x: str(x))
def test_slurm(tmp_path: Path, test_scenario_path: Path):
Expand All @@ -32,23 +28,3 @@ def test_slurm(tmp_path: Path, test_scenario_path: Path):
for td in test_dir.iterdir():
assert td.is_dir(), "Invalid test directory"
assert "Tests." in td.name, "Invalid test directory name"


@pytest.mark.parametrize("test_scenario_path", STANDALONE_TEST_SCENARIOS, ids=lambda x: str(x))
def test_standalone(tmp_path: Path, test_scenario_path: Path):
args = argparse.Namespace(
log_file=None,
log_level=None,
mode="dry-run",
output_path=str(tmp_path),
system_config_path="conf/v0.6/general/system/standalone_system.toml",
test_scenario_path=str(test_scenario_path),
test_path="conf/v0.6/general/test",
test_template_path="conf/v0.6/general/test_template",
)
handle_dry_run_and_run(args)

test_dir = list(tmp_path.glob("*"))[0]
for td in test_dir.iterdir():
assert td.is_dir(), "Invalid test directory"
assert "Tests." in td.name, "Invalid test directory name"

0 comments on commit b35f84a

Please sign in to comment.