Skip to content

Commit

Permalink
Fix test_cime_case_test_walltime_mgmt_8
Browse files Browse the repository at this point in the history
Theta machine is no longer known to E3SM.
  • Loading branch information
jgfouca committed Jun 11, 2024
1 parent ead5c78 commit bb93451
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CIME/tests/test_sys_cime_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,10 @@ def test_cime_case_test_walltime_mgmt_8(self):
if self._config.test_mode == "cesm":
self.skipTest("Skipping walltime test. Depends on E3SM batch settings")

test_name = "SMS_P25600.f19_g16_rx1.A"
machine, compiler = "theta", "gnu"
# Frontier has 56 MAX_MPITASKS_PER_NODE so 5600 should require 100 nodes
# which should land us in 6 hour queue
test_name = "SMS_P5600.f19_g16_rx1.A"
machine, compiler = "frontier", "gnu"
casedir = self._create_test(
[
"--no-setup",
Expand All @@ -528,12 +530,12 @@ def test_cime_case_test_walltime_mgmt_8(self):
"./xmlquery JOB_WALLCLOCK_TIME -N --subgroup=case.test --value",
from_dir=casedir,
)
self.assertEqual(result, "09:00:00")
self.assertEqual(result, "06:00:00")

result = self.run_cmd_assert_result(
"./xmlquery JOB_QUEUE -N --subgroup=case.test --value", from_dir=casedir
)
self.assertEqual(result, "default")
self.assertEqual(result, "batch")

def test_cime_case_test_custom_project(self):
test_name = "ERS_P1.f19_g16_rx1.A"
Expand Down

0 comments on commit bb93451

Please sign in to comment.