]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: disable restart limiting for networkd
authorDan Streetman <ddstreet@canonical.com>
Tue, 26 Nov 2019 20:36:53 +0000 (15:36 -0500)
committerDan Streetman <ddstreet@canonical.com>
Thu, 5 Dec 2019 22:53:10 +0000 (17:53 -0500)
Some of the tests restart networkd rapidly, so restart limiting
must be disabled to avoid start ratelimiting from causing test
failures.

test/test-network/systemd-networkd-tests.py

index 4556cb36ce0e702eea837f74bd916e2047f99801..e63cca50f2948dc744f5425b33be13fadea5753f 100755 (executable)
@@ -142,6 +142,8 @@ def setUpModule():
             running_units.append(u)
 
     drop_in = [
+        '[Unit]',
+        'StartLimitIntervalSec=0',
         '[Service]',
         'Restart=no',
         'ExecStart=',