From 6a0e9e06ccde025ab10dfc5fde6d62d09f730c1e Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 25 May 2018 10:43:00 +0200 Subject: 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 --- tests/py/inet/sets.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 192.168.3.4 timeout 30s, 10.2.1.1;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 -- cgit v1.2.3