File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -329,6 +329,7 @@ def check_config(self):
329
329
'invalid MAC address %s' % self .faucet_dp_mac ))
330
330
test_config_condition (not (self .interfaces or self .interface_ranges ), (
331
331
'DP %s must have at least one interface' % self ))
332
+ test_config_condition (self .timeout < 15 , ('timeout must be > 15' ))
332
333
# To prevent L2 learning from timing out before L3 can refresh
333
334
test_config_condition (not (self .arp_neighbor_timeout < (self .timeout / 2 )), (
334
335
'L2 timeout must be > ARP timeout * 2' ))
Original file line number Diff line number Diff line change @@ -1881,15 +1881,15 @@ class FaucetSingleHostsTimeoutPrometheusTest(FaucetUntaggedTest):
1881
1881
If the maximum number of MACs at any one time is 5, then only 5 values
1882
1882
should be exported, even if over 2 hours, there are 100 MACs learnt
1883
1883
"""
1884
- TIMEOUT = 10
1884
+ TIMEOUT = 15
1885
1885
CONFIG_GLOBAL = """
1886
1886
vlans:
1887
1887
100:
1888
1888
description: "untagged"
1889
1889
"""
1890
1890
1891
1891
CONFIG = """
1892
- timeout: 10
1892
+ timeout: 15
1893
1893
arp_neighbor_timeout: 4
1894
1894
nd_neighbor_timeout: 4
1895
1895
ignore_learn_ins: 0
@@ -1993,7 +1993,7 @@ class FaucetSingleHostsNoIdleTimeoutPrometheusTest(FaucetSingleHostsTimeoutProme
1993
1993
"""Test broken reset idle timer on flow refresh workaround."""
1994
1994
1995
1995
CONFIG = """
1996
- timeout: 10
1996
+ timeout: 15
1997
1997
arp_neighbor_timeout: 4
1998
1998
nd_neighbor_timeout: 4
1999
1999
ignore_learn_ins: 0
You can’t perform that action at this time.
0 commit comments