Skip to content

Commit

Permalink
tests: Install latest NM to match NM plugin version
Browse files Browse the repository at this point in the history
There is not a strong dependency for NetworkManager-wifi or
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 plugin is using
Before fixing the dependency problem in NetworkManager side, add a
hotfix to install the latest NetworkManager to match the NetworkManager
plugin version.

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
  • Loading branch information
liangwen12year committed Feb 18, 2024
1 parent 4b12e15 commit 3578dad
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/playbooks/tests_team_plugin_installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 latest NetworkManager
package:
name: NetworkManager
state: latest # noqa package-latest

- name: "Get the rpm package facts"
package_facts:
manager: "auto"
Expand Down
12 changes: 12 additions & 0 deletions tests/playbooks/tests_wireless_plugin_installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 latest NetworkManager
package:
name: NetworkManager
state: latest # noqa package-latest

- name: "Get the rpm package facts"
package_facts:
manager: "auto"
Expand Down

0 comments on commit 3578dad

Please sign in to comment.