parent
2c930d55fb
commit
8a6b07d8f7
@ -0,0 +1,33 @@ |
||||
#!/bin/bash -ex |
||||
|
||||
# Run 5 etcds and kill them while operating |
||||
ETCD_COUNT=5 |
||||
|
||||
. `dirname $0`/run_3osds.sh |
||||
|
||||
LD_PRELOAD=libasan.so.5 \ |
||||
fio -thread -name=test -ioengine=build/src/libfio_vitastor.so -bs=4M -direct=1 -iodepth=1 -fsync=1 -rw=randwrite \ |
||||
-etcd=$ETCD_URL -pool=1 -inode=1 -size=128M -cluster_log_level=10 |
||||
|
||||
kill_etcds() |
||||
{ |
||||
sleep 5 |
||||
kill $ETCD1_PID $ETCD2_PID |
||||
sleep 5 |
||||
kill $ETCD3_PID |
||||
start_etcd 1 |
||||
sleep 5 |
||||
kill $ETCD4_PID |
||||
start_etcd 2 |
||||
sleep 5 |
||||
kill $ETCD5_PID |
||||
start_etcd 3 |
||||
} |
||||
|
||||
kill_etcds & |
||||
|
||||
LD_PRELOAD=libasan.so.5 \ |
||||
fio -thread -name=test -ioengine=build/src/libfio_vitastor.so -bs=4k -direct=1 -iodepth=1 -fsync=1 -rw=randwrite \ |
||||
-etcd=$ETCD_URL -pool=1 -inode=1 -size=128M -cluster_log_level=10 -runtime=30 |
||||
|
||||
format_green OK |
Loading…
Reference in new issue