Forwarding restarts in the run-time MTU adjustment test case have been explicitly added, given that the 'requires_forwarding_restart' decorator from a previous patch was removed.
Signed-off-by: Nicholas Pratte <npra...@iol.unh.edu> --- dts/tests/TestSuite_mtu.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dts/tests/TestSuite_mtu.py b/dts/tests/TestSuite_mtu.py index 3c96a36fc9..a4a14d7b3d 100644 --- a/dts/tests/TestSuite_mtu.py +++ b/dts/tests/TestSuite_mtu.py @@ -164,22 +164,33 @@ def test_runtime_mtu_updating_and_forwarding(self) -> None: # Configure the new MTU. # Start packet capturing. - testpmd.start() testpmd.set_port_mtu_all(1500, verify=True) + + testpmd.start() self.assess_mtu_boundary(testpmd, 1500) + testpmd.stop() testpmd.set_port_mtu_all(2400, verify=True) + + testpmd.start() self.assess_mtu_boundary(testpmd, 1500) self.assess_mtu_boundary(testpmd, 2400) + testpmd.stop() testpmd.set_port_mtu_all(4800, verify=True) + + testpmd.start() self.assess_mtu_boundary(testpmd, 1500) self.assess_mtu_boundary(testpmd, 4800) + testpmd.stop() testpmd.set_port_mtu_all(9000, verify=True) + + testpmd.start() self.assess_mtu_boundary(testpmd, 1500) self.assess_mtu_boundary(testpmd, 9000) + testpmd.stop() @func_test def test_cli_mtu_forwarding_for_std_packets(self) -> None: -- 2.47.1