blob: 04efcb2ac90352c30f46a9ea8db145c4b39e79b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/usr/bin/env bash
set -x
#
# Runs the synthetic client
#
# Includes
source "`dirname $0`/test_common.sh"
# Functions
setup() {
export CEPH_NUM_OSD=$1
# Start ceph
./stop.sh
# set recovery start to a really long time to ensure that we don't start recovery
./vstart.sh -d -n -o 'osd recovery delay start = 10000
osd max scrubs = 0' || die "vstart failed"
}
csyn_simple1_impl() {
./ceph-syn -c ./ceph.conf --syn writefile 100 1000 --syn writefile 100 1000 || die "csyn failed"
}
csyn_simple1() {
setup 2
csyn_simple1_impl
}
run() {
csyn_simple1 || die "test failed"
}
$@
|