From 43d67044d0f05e8199f8b7b2f8aee9e5c1148826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Tue, 5 Mar 2024 10:09:15 +0100 Subject: [PATCH] test: igmp_basic: speed up test, remove unnecessary long timeout And cleanup ASCII picture --- test/case/infix_interfaces/igmp_basic.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/case/infix_interfaces/igmp_basic.py b/test/case/infix_interfaces/igmp_basic.py index 1d12a985..840146a3 100755 --- a/test/case/infix_interfaces/igmp_basic.py +++ b/test/case/infix_interfaces/igmp_basic.py @@ -4,13 +4,13 @@ # | DUT | # | | # +----------+---\ -# | | \- -# / | \ -# | | \ -# / | \- -# 10.0.0.2 | 10.0.0.3| \ 10.0.0.4 -# +-------/ +---+------+ \-------------+ -# | msend | | mreceive | | no join | +# | | \ +# | | \ +# | | \ +# | | \ +# 10.0.0.2 | 10.0.0.3| \ 10.0.0.4 +# +----------+ +---+------+ \ +-------------+ +# | msend | | mreceive | + no join | # +-------+ +----------+ +-------------+ import infamy @@ -94,7 +94,7 @@ with infamy.Test() as test: snif_nojoin = infamy.Sniffer(ns2, "host 224.1.1.1") snif_receiver = infamy.Sniffer(ns1, "host 224.1.1.1") with sender: - time.sleep(20) + time.sleep(5) with snif_nojoin: time.sleep(5) assert(snif_nojoin.output().stdout != "")