File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -460,12 +460,16 @@ def test_systemd_networkd_wait_online(self):
460
460
# <dev_e2_client> should be listed normally
461
461
self .assertEqual (f .read (), '''[Unit]
462
462
ConditionPathIsSymbolicLink=/run/systemd/generator/network-online.target.wants/systemd-networkd-wait-online.service
463
+ After=systemd-resolved.service
463
464
464
465
[Service]
465
466
ExecStart=
466
467
ExecStart=/lib/systemd/systemd-networkd-wait-online -i %(e2c)s:carrier -i br0:degraded -i findme:carrier
467
- ExecStart=/lib/systemd/systemd-networkd-wait-online --any -o routable -i %(e2c)s -i br0
468
+ ExecStart=/lib/systemd/systemd-networkd-wait-online --any --dns - o routable -i %(e2c)s -i br0
468
469
''' % {'e2c' : self .dev_e2_client })
470
+ # Restart sd-nd-wait-online.service and check that it was launched correctly.
471
+ # XXX: Enable extra testing once systemd#34640 is available on the SUT (i.e. systemd v258+).
472
+ # subprocess.check_call(['systemctl', 'restart', 'systemd-networkd-wait-online.service'])
469
473
470
474
471
475
@unittest .skipIf ("NetworkManager" not in test_backends ,
You can’t perform that action at this time.
0 commit comments