From 43b9aef11c1281d8b83b659a523dba365d79add4 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 5 May 2015 11:22:55 -0400 Subject: [PATCH] qa/workunits/rbd: add notify_master/slave bootstrap scripts Backport: hammer Signed-off-by: Jason Dillaman (cherry picked from commit 124b1d3d2d0dbd685bbd717856d29b316e62e660) --- qa/workunits/rbd/notify_master.sh | 7 +++++++ qa/workunits/rbd/notify_slave.sh | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100755 qa/workunits/rbd/notify_master.sh create mode 100755 qa/workunits/rbd/notify_slave.sh diff --git a/qa/workunits/rbd/notify_master.sh b/qa/workunits/rbd/notify_master.sh new file mode 100755 index 0000000000000..3d1b2243c56c0 --- /dev/null +++ b/qa/workunits/rbd/notify_master.sh @@ -0,0 +1,7 @@ +#!/bin/sh -ex + +CEPH_REF=${CEPH_REF:-master} +wget -O test_notify.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/librbd/test_notify.py" + +python test_notify.py master +exit 0 diff --git a/qa/workunits/rbd/notify_slave.sh b/qa/workunits/rbd/notify_slave.sh new file mode 100755 index 0000000000000..e94894ac5b87a --- /dev/null +++ b/qa/workunits/rbd/notify_slave.sh @@ -0,0 +1,7 @@ +#!/bin/sh -ex + +CEPH_REF=${CEPH_REF:-master} +wget -O test_notify.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/librbd/test_notify.py" + +python test_notify.py slave +exit 0 -- 2.39.5