Skip to content

Commit

Permalink
tests:integration: Be less strict about systemctl daemon-reload (LP: …
Browse files Browse the repository at this point in the history
…#2048388)
  • Loading branch information
slyon committed Feb 28, 2024
1 parent 32b19b8 commit f187f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def generate_and_settle(self, wait_interfaces=None, state_dir=None):
self.assertTrue(False, 'netplan apply failed: {}'.format(e.output))

if 'Run \'systemctl daemon-reload\' to reload units.' in out:
self.fail('systemd units changed without reload')
print('\nWARNING: systemd units changed without reload:', out)
# start NM so that we can verify that it does not manage anything
subprocess.call(['nm-online', '-sxq']) # Wait for NM startup, from 'netplan apply'
if not self.is_active('NetworkManager.service'):
Expand Down

0 comments on commit f187f66

Please sign in to comment.