summaryrefslogtreecommitdiff
path: root/qpid/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
commitf69abcd4b321f8e2d61cc1fbeb8cb20cb99ed1eb (patch)
treedd9fc55b70cdf84d7809fc8b9c80dabbbb3f3250 /qpid/cpp/src/tests/clustered_replication_test
parenta7474dc17b81959fbd20a5d8e22068edc88da76e (diff)
downloadqpid-python-f69abcd4b321f8e2d61cc1fbeb8cb20cb99ed1eb.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@820717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/clustered_replication_test')
-rwxr-xr-xqpid/cpp/src/tests/clustered_replication_test20
1 files changed, 1 insertions, 19 deletions
diff --git a/qpid/cpp/src/tests/clustered_replication_test b/qpid/cpp/src/tests/clustered_replication_test
index 4713f4b3f9..4dcd113c47 100755
--- a/qpid/cpp/src/tests/clustered_replication_test
+++ b/qpid/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)