X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Ftest_rw.sh;fp=src%2Fceph%2Fsrc%2Ftest%2Ftest_rw.sh;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=37e8ebd99283be9e5d2ee752a5d0baea1ea78f0f;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/test/test_rw.sh b/src/ceph/src/test/test_rw.sh deleted file mode 100755 index 37e8ebd..0000000 --- a/src/ceph/src/test/test_rw.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash -x - -# -# Generic read/write from object store test -# - -# Includes -source "`dirname $0`/test_common.sh" - -TEST_POOL=rbd - -# Functions -my_write_objects() { - write_objects $1 $2 10 1000000 $TEST_POOL -} - -setup() { - export CEPH_NUM_OSD=$1 - - # Start ceph - ./stop.sh - - ./vstart.sh -d -n || die "vstart.sh failed" -} - -read_write_1_impl() { - write_objects 1 2 100 8192 $TEST_POOL - read_objects 2 100 8192 - - write_objects 3 3 10 81920 $TEST_POOL - read_objects 3 10 81920 - - write_objects 4 4 100 4 $TEST_POOL - read_objects 4 100 4 - - write_objects 1 2 100 8192 $TEST_POOL - read_objects 2 100 8192 - - # success - return 0 -} - -read_write_1() { - setup 3 - read_write_1_impl -} - -run() { - read_write_1 || die "test failed" -} - -$@