summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_failover_soak
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/run_failover_soak
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/run_failover_soak')
-rwxr-xr-xcpp/src/tests/run_failover_soak24
1 files changed, 1 insertions, 23 deletions
diff --git a/cpp/src/tests/run_failover_soak b/cpp/src/tests/run_failover_soak
index 3c9a5589c4..8d5b37f008 100755
--- a/cpp/src/tests/run_failover_soak
+++ b/cpp/src/tests/run_failover_soak
@@ -19,29 +19,7 @@
# under the License.
#
-# Check AIS requirements and run tests if found.
-id -ng | grep '\<ais\>' >/dev/null || \
- NOGROUP="The ais group is not your primary group."
-ps -u root | grep 'aisexec\|corosync' >/dev/null || \
- NOAISEXEC="The aisexec/corosync daemon is not running as root"
-
-if test -n "$NOGROUP" -o -n "$NOAISEXEC"; then
- cat <<EOF
-
- =========== WARNING: NOT RUNNING AIS TESTS ==============
-
- Tests that depend on the openais library (used for clustering)
- will not be run because:
-
- $NOGROUP
- $NOAISEXEC
-
- ==========================================================
-
-EOF
- exit 0; # A warning, not a failure.
-fi
-
+. `dirname $0`/ais_check
host=127.0.0.1