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 <sebastian.brzezinka@intel.com>
Change-Id: If45d07a737721c6754392b7db8cce426e6090bd1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16386
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Sebastian Brzezinka 2023-01-20 13:04:43 +01:00 committed by Jim Harris
parent fc62f804b9
commit b75196ff0a

View File

@ -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