Skip to content

Commit e9d820c

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 dacc9cf commit e9d820c

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
@@ -4,8 +4,8 @@
44
only_if { !os_properties.on_docker? && os_properties.x86? }
55
## cpupower is installed for Ubuntu >=22
66
describe bash('cpupower idle-info') do
7-
its('stdout') { should match(/Number of idle states: 2/) }
8-
its('stdout') { should match(/Available idle states: POLL C1/) }
7+
its('stdout') { should match(/Number of idle states: 2|No idle states/) }
8+
its('stdout') { should match(/Available idle states: POLL C1|No idle states/) }
99
end
1010
end
1111

0 commit comments

Comments
 (0)