]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests/integration: reduce the number of emulated neighbor
authorVincent Bernat <vincent@bernat.im>
Wed, 16 Mar 2016 20:55:43 +0000 (21:55 +0100)
committerVincent Bernat <vincent@bernat.im>
Wed, 16 Mar 2016 20:55:43 +0000 (21:55 +0100)
This is costly when we are running on low-memory containers.

tests/integration/test_basic.py

index bc32fe46897e893e93e99816dc2331731f31eca8..51f77c5e4a1cd4bc63a056ed173c1c6feb2aa150 100644 (file)
@@ -28,7 +28,7 @@ def test_one_neighbor(lldpd1, lldpd, lldpcli, namespaces):
                        "lldp.eth0.port.descr": "eth1"}
 
 
-@pytest.mark.parametrize("neighbors", (5, 10, 50))
+@pytest.mark.parametrize("neighbors", (5, 10, 20))
 def test_several_neighbors(lldpd, lldpcli, links, namespaces, neighbors):
     for i in range(2, neighbors + 1):
         links(namespaces(1), namespaces(i))