summaryrefslogtreecommitdiff
path: root/cpp/src/tests/clustered_replication_test
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-10-01 16:55:58 +0000
committerAlan Conway <aconway@apache.org>2009-10-01 16:55:58 +0000
commit054546a9f7dda8e6877550c46eb258c623e67de6 (patch)
tree9cb54e090ad84f588d0d811f7df689dbbff8bc61 /cpp/src/tests/clustered_replication_test
parenta27debd4d1711ecdb9980419325f0707bb13c3f7 (diff)
downloadqpid-python-054546a9f7dda8e6877550c46eb258c623e67de6.tar.gz
Fix QPID-2086 - problem with read-credit.
Also cleaned up the cluster test scripts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/clustered_replication_test')
-rwxr-xr-xcpp/src/tests/clustered_replication_test20
1 files changed, 1 insertions, 19 deletions
diff --git a/cpp/src/tests/clustered_replication_test b/cpp/src/tests/clustered_replication_test
index 4713f4b3f9..4dcd113c47 100755
--- a/cpp/src/tests/clustered_replication_test
+++ b/cpp/src/tests/clustered_replication_test
@@ -55,25 +55,7 @@ stop_brokers() {
}
if test -d $PYTHON_DIR; then
- id -nG | grep '\<ais\>' >/dev/null || \
- NOGROUP="You are not a member of the ais group."
- ps -u root | grep 'aisexec\|corosync' >/dev/null || \
- NOAISEXEC="The aisexec or corosync daemon is not running as root"
-
- if test -n "$NOGROUP" -o -n "$NOAISEXEC"; then
- cat <<EOF
-
- =========== WARNING: NOT RUNNING AIS TESTS ==============
-
- Not running cluster replication test because:
- $NOGROUP
- $NOAISEXEC
-
- ==========================================================
-
-EOF
- exit 0;
- fi
+ . $srcdir/ais_check
#todo: these cluster names need to be unique to prevent clashes
PRIMARY_CLUSTER=PRIMARY_$(hostname)_$(pwd)