Skip to content

Commit

Permalink
Add condition to check if vendor is AMD
Browse files Browse the repository at this point in the history
Signed-off-by: Niranjan M.R <[email protected]>
  • Loading branch information
Niranjan M.R committed Dec 19, 2024
1 parent 07e1005 commit b8cf664
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
if isIntel {
Expect(cmdline).To(ContainSubstring("intel_pstate=passive"))
Expect(cmdline).ToNot(ContainSubstring("intel_pstate=active"))
} else {
}
if isAMD {
Expect(cmdline).To(ContainSubstring("amd_pstate=passive"))
Expect(cmdline).ToNot(ContainSubstring("amd_pstate=active"))
}
Expand Down

0 comments on commit b8cf664

Please sign in to comment.