Skip to content

Commit 8b64080

Browse files
martinpittjelly
authored andcommitted
test: Switch to desktop profile
tuned 2.23 now recommends the "balanced" profile by default, so the tooltip changed to "This system is using the recommended profile". Switch to "desktop" instead, which isn't recommended on any OS (as we use the cloud image and these are server).
1 parent d2f4c6f commit 8b64080

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/verify/check-system-tuned

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@ class TestTuned(testlib.MachineCase):
7676
b.wait_visible(f"{body_selector} li > button.pf-m-selected .pf-v5-c-label:contains('recommended')")
7777
b.wait_visible(f"{body_selector} li > button.pf-m-selected .pf-v5-c-label:contains('active')")
7878

79-
b.click(f"{body_selector} li[data-value='balanced'] > button")
80-
b.wait_visible(f"{body_selector} li > button.pf-m-selected p:contains('balanced')")
79+
b.click(f"{body_selector} li[data-value='desktop'] > button")
80+
b.wait_visible(f"{body_selector} li > button.pf-m-selected p:contains('desktop')")
8181

8282
b.click(f"{body_selector} button.pf-m-primary")
8383
b.wait_not_present(title_selector)
8484

85-
b.wait_text('#tuned-status-button', "balanced")
85+
b.wait_text('#tuned-status-button', "desktop")
8686
check_status_tooltip("This system is using a custom profile")
8787

8888
# Check the status of tuned, it should show the profile
8989
output = m.execute("tuned-adm active 2>&1 || true")
90-
self.assertIn("balanced", output)
90+
self.assertIn("desktop", output)
9191
output = m.execute("systemctl status tuned")
9292
self.assertIn("enabled;", output)
9393

0 commit comments

Comments
 (0)