diff --git a/test/nvmf/host/target_disconnect.sh b/test/nvmf/host/target_disconnect.sh index 2122fc460..fcd78733d 100755 --- a/test/nvmf/host/target_disconnect.sh +++ b/test/nvmf/host/target_disconnect.sh @@ -27,7 +27,7 @@ function disconnect_init() # There is an intermittent error relating to this test and Soft-RoCE. for now, just # skip this test if we are using rxe. TODO: get to the bottom of GitHub issue #1043 -if check_ip_is_soft_roce $NVMF_FIRST_TARGET_IP; then +if [ $TEST_TRANSPORT == "rdma" ] && check_ip_is_soft_roce $NVMF_FIRST_TARGET_IP; then echo "Using software RDMA, skipping the target disconnect tests." exit 0 fi