Skip to content

Commit 1f263b1

Browse files
[Test][Isolated Region] Reduce memory usage in test_slurm_memory_based_scheduling
The changed line is running on c5.large, which has 4GB of physical memory, when running with 3GB of program, it failed in isolated region on RHEL8. Reduce the memory usage to 2GB to make the test pass. ParallelCluster test shouldn't check too strictly about memory usage because it is managed by operating systems.
1 parent 1c7bb1d commit 1f263b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration-tests/tests/schedulers/test_slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2594,7 +2594,7 @@ def _test_slurm_behavior_when_updating_schedulable_memory_with_already_running_j
25942594
submit_command_args={
25952595
"nodes": 1,
25962596
"slots": 1,
2597-
"command": "srun ./a.out 2800000000 390",
2597+
"command": "srun ./a.out 2000000000 390",
25982598
"other_options": "-w queue1-st-ondemand1-i1-1",
25992599
"raise_on_error": False,
26002600
}

0 commit comments

Comments
 (0)