Skip to content

Commit 9e74e35

Browse files
Relax inspec test for cstate to accept "no idle states"
The recent update of AL2023 totally disabled idle states, which could give even better performance. ParallelCluster has been restricting idle state to maximum level 1 for performance reason. ToDo: ParallelCluster should improve the configuration to totally disable idle state for all OS. Signed-off-by: Hanwen <[email protected]>
1 parent d77dbb2 commit 9e74e35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbooks/aws-parallelcluster-platform/test/controls/c_states_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
end
1414
else
1515
describe bash('cpupower idle-info') do
16-
its('stdout') { should match(/Number of idle states: 2/) }
17-
its('stdout') { should match(/Available idle states: POLL C1/) }
16+
its('stdout') { should match(/Number of idle states: 2|No idle states/) }
17+
its('stdout') { should match(/Available idle states: POLL C1|No idle states/) }
1818
end
1919
end
2020
end

0 commit comments

Comments
 (0)