-#!/bin/sh
+#!/bin/sh -ex
#
# rbd_mirror_stress.sh - stress test rbd-mirror daemon
#
. $(dirname $0)/rbd_mirror_helpers.sh
+setup
+
create_snap()
{
local cluster=$1
return 1
}
-start_mirror ${CLUSTER1}
-start_mirror ${CLUSTER2}
+start_mirrors ${CLUSTER1}
+start_mirrors ${CLUSTER2}
testlog "TEST: add image and test replay after client crashes"
image=test
purge_snapshots ${CLUSTER2} ${POOL} ${image}
remove_image_retry ${CLUSTER2} ${POOL} ${image}
done
-
-echo OK