From bc4b17dd6c4a3ee90df5428fa04d3798e99f8101 Mon Sep 17 00:00:00 2001 From: Vishnu Itta Date: Sun, 6 May 2018 11:46:34 +0530 Subject: [PATCH] rebuild test hanging due to no targetip --- .travis.yml | 2 ++ tests/cbtest/script/test_uzfs.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3ae5cd3828bd..db585eded680 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,8 @@ before_install: # packages for tests - sudo apt-get install --yes -qq parted lsscsi ksh attr acl nfs-kernel-server fio - sudo apt-get install --yes -qq libgtest-dev cmake + # packages for debugging + - sudo apt-get install gdb # use gcc-6 by default - sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-6 /usr/bin/gcc - sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-6 /usr/bin/g++ diff --git a/tests/cbtest/script/test_uzfs.sh b/tests/cbtest/script/test_uzfs.sh index 1d248089e157..6f1990b48afb 100755 --- a/tests/cbtest/script/test_uzfs.sh +++ b/tests/cbtest/script/test_uzfs.sh @@ -877,7 +877,7 @@ run_zrepl_rebuild_uzfs_test() fi log_must $ZFS create -V $UZFS_TEST_VOLSIZE \ - $UZFS_TEST_POOL/$UZFS_REBUILD_VOL -b $2 + -o io.openebs:targetip=127.0.0.1:6060 $UZFS_TEST_POOL/$UZFS_REBUILD_VOL -b $2 log_must $ZFS set sync=$3 $UZFS_TEST_POOL/$UZFS_REBUILD_VOL log_must $UZFS_TEST -T 7