path: root/tests
diff options
authorPablo Neira Ayuso <>2018-05-25 10:43:00 +0200
committerPablo Neira Ayuso <>2018-05-25 19:01:28 +0200
commit6a0e9e06ccde025ab10dfc5fde6d62d09f730c1e (patch)
tree5ed3c35128d1e6e7c831106e2f195a0a7d65ebb6 /tests
parentbb0e6d8a2851b13c60eca31395dd26cd23d683c6 (diff)
tests: py: fix race in deleting element
Sometimes we may hit this because script is too slow to remove the element with timeout from the set. inet/sets.t: ERROR: line 18: I cannot delete element dead::beef timeout 1s from the set set2 Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/inet/sets.t b/tests/py/inet/sets.t
index 8f1cbff7..daf8f2d6 100644
--- a/tests/py/inet/sets.t
+++ b/tests/py/inet/sets.t
@@ -9,7 +9,7 @@
?set1 timeout 30s,;ok
!set2 type ipv6_addr timeout 23d23h59m59s;ok
-?set2 dead::beef timeout 1s;ok
+?set2 dead::beef timeout 5s;ok
ip saddr @set1 drop;ok
ip saddr != @set2 drop;fail