Skip to content

Commit 0c2fb37

Browse files
authored
Revert "Add performance test for set/delete routes (#2344)"
This reverts commit 814f702.
1 parent f4d2b82 commit 0c2fb37

File tree

5 files changed

+55
-246
lines changed

5 files changed

+55
-246
lines changed

tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def pytest_addoption(parser):
137137
help="Deep clean DUT before tests (remove old logs, cores, dumps)")
138138

139139

140-
141140
@pytest.fixture(scope="session", autouse=True)
142141
def enhance_inventory(request):
143142
"""

tests/route/conftest.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/route/test_route_perf.py

Lines changed: 0 additions & 186 deletions
This file was deleted.

tests/vxlan/__init__.py

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,61 @@
99

1010
logger = logging.getLogger(__name__)
1111

12+
def pytest_addoption(parser):
13+
"""
14+
Adds pytest options that are used by VxLAN tests
15+
"""
16+
17+
parser.addoption(
18+
"--num_vnet",
19+
action="store",
20+
default=8,
21+
type=int,
22+
help="number of VNETs for VNET VxLAN test"
23+
)
24+
25+
parser.addoption(
26+
"--num_routes",
27+
action="store",
28+
default=16000,
29+
type=int,
30+
help="number of routes for VNET VxLAN test"
31+
)
32+
33+
parser.addoption(
34+
"--num_endpoints",
35+
action="store",
36+
default=4000,
37+
type=int,
38+
help="number of endpoints for VNET VxLAN"
39+
)
40+
41+
parser.addoption(
42+
"--num_intf_per_vnet",
43+
action="store",
44+
default=1,
45+
type=int,
46+
help="number of VLAN interfaces per VNET"
47+
)
48+
49+
parser.addoption(
50+
"--ipv6_vxlan_test",
51+
action="store_true",
52+
help="Use IPV6 for VxLAN test"
53+
)
54+
55+
parser.addoption(
56+
"--skip_cleanup",
57+
action="store_true",
58+
help="Do not cleanup after VNET VxLAN test"
59+
)
60+
61+
parser.addoption(
62+
"--skip_apply_config",
63+
action="store_true",
64+
help="Apply new configurations on DUT"
65+
)
66+
1267
@pytest.fixture(scope="module")
1368
def scaled_vnet_params(request):
1469
"""

tests/vxlan/conftest.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)