test/nvmf: remove NVMF_FIRST_TARGET_IP duplication from host tests
These scripts already call nvmftestinit which sets up the NVMF_FIRST_TARGET_IP variable. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Id732e2e7c981bf557518489776aaacebeeecdfa8 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456652 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
7bb1c57355
commit
d0201cb1f3
@ -11,13 +11,6 @@ set -e
|
||||
|
||||
nvmftestinit
|
||||
|
||||
RDMA_IP_LIST=$(get_available_rdma_ips)
|
||||
NVMF_FIRST_TARGET_IP=$(echo "$RDMA_IP_LIST" | head -n 1)
|
||||
if [ -z $NVMF_FIRST_TARGET_IP ]; then
|
||||
echo "no NIC for nvmf test"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
timing_enter aer
|
||||
timing_enter start_nvmf_tgt
|
||||
|
||||
|
@ -14,13 +14,6 @@ set -e
|
||||
|
||||
nvmftestinit
|
||||
|
||||
RDMA_IP_LIST=$(get_available_rdma_ips)
|
||||
NVMF_FIRST_TARGET_IP=$(echo "$RDMA_IP_LIST" | head -n 1)
|
||||
if [ -z $NVMF_FIRST_TARGET_IP ]; then
|
||||
echo "no NIC for nvmf test"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
timing_enter bdevperf
|
||||
timing_enter start_nvmf_tgt
|
||||
|
||||
|
@ -12,13 +12,6 @@ set -e
|
||||
|
||||
nvmftestinit
|
||||
|
||||
RDMA_IP_LIST=$(get_available_rdma_ips)
|
||||
NVMF_FIRST_TARGET_IP=$(echo "$RDMA_IP_LIST" | head -n 1)
|
||||
if [ -z $NVMF_FIRST_TARGET_IP ]; then
|
||||
echo "no NIC for nvmf test"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ ! -d /usr/src/fio ]; then
|
||||
echo "FIO not available"
|
||||
exit 0
|
||||
|
@ -13,12 +13,6 @@ rpc_py="$rootdir/scripts/rpc.py"
|
||||
set -e
|
||||
nvmftestinit
|
||||
|
||||
RDMA_IP_LIST=$(get_available_rdma_ips)
|
||||
NVMF_FIRST_TARGET_IP=$(echo "$RDMA_IP_LIST" | head -n 1)
|
||||
if [ -z $NVMF_FIRST_TARGET_IP ]; then
|
||||
echo "no NIC for nvmf test"
|
||||
exit 0
|
||||
fi
|
||||
timing_enter identify
|
||||
timing_enter start_nvmf_tgt
|
||||
|
||||
|
@ -8,13 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
set -e
|
||||
nvmftestinit
|
||||
|
||||
RDMA_IP_LIST=$(get_available_rdma_ips)
|
||||
NVMF_FIRST_TARGET_IP=$(echo "$RDMA_IP_LIST" | head -n 1)
|
||||
if [ -z $NVMF_FIRST_TARGET_IP ]; then
|
||||
echo "no NIC for nvmf test"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
timing_enter identify_kernel_nvmf_tgt
|
||||
|
||||
subsystemname=nqn.2016-06.io.spdk:testnqn
|
||||
|
@ -14,8 +14,6 @@ set -e
|
||||
|
||||
nvmftestinit
|
||||
|
||||
RDMA_IP_LIST=$(get_available_rdma_ips)
|
||||
NVMF_FIRST_TARGET_IP=$(echo "$RDMA_IP_LIST" | head -n 1)
|
||||
TYPES="TCP"
|
||||
if [ -z $NVMF_FIRST_TARGET_IP ]; then
|
||||
echo "no RDMA NIC for nvmf test, will only test TCP/IP transport"
|
||||
|
Loading…
x
Reference in New Issue
Block a user