From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: [PATCH 02/12] test: Remove unnecessary sleeps from layout functions Date: Fri, 23 Sep 2022 17:20:28 +1000 Message-ID: <20220923072038.1667106-3-david@gibson.dropbear.id.au> In-Reply-To: <20220923072038.1667106-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3324990502618537175==" --===============3324990502618537175== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable These make sense for displaying in the demo, but not for automated testing. Signed-off-by: David Gibson --- test/lib/layout | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/test/lib/layout b/test/lib/layout index cf319bf..9b16c4d 100644 --- a/test/lib/layout +++ b/test/lib/layout @@ -15,8 +15,6 @@ =20 # layout_host() - Simple host commands layout with info and host panes layout_host() { - sleep 3 - tmux kill-pane -a -t 0 cmd_write 0 clear =20 @@ -39,14 +37,10 @@ layout_host() { fi =20 info_layout "host commands only" - - sleep 1 } =20 # layout_pasta() - Panes for host, pasta, and separate one for namespace layout_pasta() { - sleep 3 - tmux kill-pane -a -t 0 cmd_write 0 clear =20 @@ -70,14 +64,10 @@ layout_pasta() { pane_watch_contexts ${PANE_NS} "namespace" unshare ns =20 info_layout "single pasta instance with namespace" - - sleep 1 } =20 # layout_passt() - Panes for host, passt, and guest layout_passt() { - sleep 3 - tmux kill-pane -a -t 0 cmd_write 0 clear =20 @@ -101,14 +91,10 @@ layout_passt() { pane_watch_contexts ${PANE_GUEST} guest qemu guest =20 info_layout "single passt instance with guest" - - sleep 1 } =20 # layout_passt_in_pasta() - Host, passt within pasta, namespace and guest layout_passt_in_pasta() { - sleep 3 - tmux kill-pane -a -t 0 cmd_write 0 clear =20 @@ -137,14 +123,10 @@ layout_passt_in_pasta() { pane_watch_contexts ${PANE_PASST} "passt in pasta (namespace)" pasta passt =20 info_layout "passt and guest in namespace, connected by pasta" - - sleep 1 } =20 # layout_two_guests() - Two guest panes, two passt panes, plus host and log layout_two_guests() { - sleep 3 - tmux kill-pane -a -t 0 cmd_write 0 clear =20 @@ -180,8 +162,6 @@ layout_two_guests() { pane_watch_contexts ${PANE_PASST_2} "passt #2 in namespace #2" pasta_2 pass= t_2 =20 info_layout "two guests, two passt instances, in namespaces" - - sleep 1 } =20 # layout_demo_pasta() - Four panes for pasta demo --=20 2.37.3 --===============3324990502618537175==--