From 212f0548ada176d10f9fa8b019a5a3c6a1c6b2bf Mon Sep 17 00:00:00 2001 From: Wen Liang Date: Sat, 17 Feb 2024 22:05:17 -0500 Subject: [PATCH] tests: Install newest NM to match NM plugin version Signed-off-by: Wen Liang --- tests/playbooks/tests_team_plugin_installation.yml | 12 ++++++++++++ .../playbooks/tests_wireless_plugin_installation.yml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/tests/playbooks/tests_team_plugin_installation.yml b/tests/playbooks/tests_team_plugin_installation.yml index f7c53f8a8..a740a694f 100644 --- a/tests/playbooks/tests_team_plugin_installation.yml +++ b/tests/playbooks/tests_team_plugin_installation.yml @@ -12,6 +12,18 @@ name: "NetworkManager-team" state: absent + # There is not a strong dependency for NetworkManager-team plugin to update + # NetworkManager pacakge in order to match the version, as a result, if + # NetworkManager daemon version is comparably old , it is likely + # that NetworkManager daemon can not recognize some new properties that + # NetworkManager-wifi plugin is using. Before fixing the dependency + # problem in NetworkManager side, add a hotfix to install the latest + # NetworkManager to match the NetworkManager-team version + - name: Install the lastest NetworkManager + package: + name: NetworkManager + state: latest + - name: "Get the rpm package facts" package_facts: manager: "auto" diff --git a/tests/playbooks/tests_wireless_plugin_installation.yml b/tests/playbooks/tests_wireless_plugin_installation.yml index b59a775aa..62baf6fb3 100644 --- a/tests/playbooks/tests_wireless_plugin_installation.yml +++ b/tests/playbooks/tests_wireless_plugin_installation.yml @@ -12,6 +12,18 @@ name: "NetworkManager-wifi" state: absent + # There is not a strong dependency for NetworkManager-wifi plugin to update + # NetworkManager pacakge in order to match the version, as a result, if + # NetworkManager daemon version is comparably old, it is likely + # that NetworkManager daemon can not recognize some new properties that + # NetworkManager-wifi plugin is using. Before fixing the dependency + # problem in NetworkManager side, add a hotfix to install the latest + # NetworkManager to match the NetworkManager-wifi version + - name: Install the lastest NetworkManager + package: + name: NetworkManager + state: latest + - name: "Get the rpm package facts" package_facts: manager: "auto"