Skip to content

Commit

Permalink
tests:ethernets: wait-online DNS testing
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Jan 14, 2025
1 parent 7dc78c6 commit 53c7bb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/ethernets.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,11 @@ def test_systemd_networkd_wait_online(self):
[Service]
ExecStart=
ExecStart=/lib/systemd/systemd-networkd-wait-online -i %(e2c)s:carrier -i br0:degraded -i findme:carrier
ExecStart=/lib/systemd/systemd-networkd-wait-online --any -o routable -i %(e2c)s -i br0
ExecStart=/lib/systemd/systemd-networkd-wait-online --any --dns -o routable -i %(e2c)s -i br0
''' % {'e2c': self.dev_e2_client})
# Restart sd-nd-wait-online.service and check that it was launched correctly.
# XXX: Enable extra testing once systemd#34640 is available on the SUT (i.e. systemd v258+).
# subprocess.check_call(['systemctl', 'restart', 'systemd-networkd-wait-online.service'])


@unittest.skipIf("NetworkManager" not in test_backends,
Expand Down

0 comments on commit 53c7bb2

Please sign in to comment.