test: drop unnecessary sleep
Now, 'Reload' dbus method is synchronous. It is not necessary to wait for link enter configuring state.
This commit is contained in:
@@ -104,7 +104,6 @@ networkctl cat @test2:network | cmp - <(networkctl cat "$NETWORK_NAME")
|
||||
EDITOR='cp' script -ec 'networkctl edit @test2 --drop-in test2.conf' /dev/null
|
||||
cmp "+4" "/etc/systemd/network/${NETWORK_NAME}.d/test2.conf"
|
||||
|
||||
sleep 1
|
||||
(! EDITOR='true' script -ec 'networkctl edit @test2 --runtime --drop-in test2.conf' /dev/null)
|
||||
|
||||
ip_link="$(ip link show test2)"
|
||||
|
||||
Reference in New Issue
Block a user