From 7f16691f877682f8b66048f699a58ba7ff7c4c29 Mon Sep 17 00:00:00 2001 From: dlyssenko <88390151+dlyssenko@users.noreply.github.com> Date: Sat, 17 Aug 2024 01:58:28 +0200 Subject: [PATCH] updated number for invalid link Number of supported link in port-channels, keep growing. Hope newly defined invalid number will hold for a while --- test/system/test_api_interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/test_api_interfaces.py b/test/system/test_api_interfaces.py index 453fef4..1d5a1c2 100644 --- a/test/system/test_api_interfaces.py +++ b/test/system/test_api_interfaces.py @@ -403,7 +403,7 @@ def test_minimum_links_valid(self): def test_minimum_links_invalid_value(self): for dut in self.duts: - minlinks = random_int(129, 256) # some duts may support up to 128 + minlinks = 1025 # hope it will hold for a while result = dut.api( 'interfaces').set_minimum_links('Port-Channel1', minlinks) self.assertFalse(result)