From b75196ff0a2f89cdd438435e96ae06fa804d4a7a Mon Sep 17 00:00:00 2001 From: Sebastian Brzezinka Date: Fri, 20 Jan 2023 13:04:43 +0100 Subject: [PATCH] host/multipath: increase wait time before attaching bpf probes If probe attached before io switch to second port, previous port is still present in trace log. This patch fix issue #2865 Signed-off-by: Sebastian Brzezinka Change-Id: If45d07a737721c6754392b7db8cce426e6090bd1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16386 Reviewed-by: Ben Walker Reviewed-by: Jim Harris Tested-by: SPDK CI Jenkins --- test/nvmf/host/multipath.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nvmf/host/multipath.sh b/test/nvmf/host/multipath.sh index 1f4c05738..0d463971a 100755 --- a/test/nvmf/host/multipath.sh +++ b/test/nvmf/host/multipath.sh @@ -101,7 +101,7 @@ $rpc_py nvmf_subsystem_add_listener $NQN -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGE $rpc_py nvmf_subsystem_listener_set_ana_state $NQN -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP -s $NVMF_SECOND_PORT -n optimized # wait for the io to switch to second port -sleep 2 +sleep 6 confirm_io_on_port "optimized" $NVMF_SECOND_PORT wait $rpc_pid