From 77a0f0644fba99ea110033412ea232576e7c47f2 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 6 Mar 2009 17:21:13 +0000 Subject: QPID-1719: extra test for federated cluster (includes node failure which requires a wait so only run on make check-long) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750989 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/Makefile.am | 6 ++++-- .../tests/federated_cluster_test_with_node_failure | 23 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100755 cpp/src/tests/federated_cluster_test_with_node_failure (limited to 'cpp/src') diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am index 6b7b6df478..dc2c2e4400 100644 --- a/cpp/src/tests/Makefile.am +++ b/cpp/src/tests/Makefile.am @@ -256,9 +256,11 @@ CLEANFILES+=valgrind.out *.log *.vglog* dummy_test $(unit_wrappers) # Longer running stability tests, not run by default check: target. # Not run under valgrind, too slow -LONG_TESTS+=start_broker fanout_perftest shared_perftest multiq_perftest topic_perftest run_failover_soak stop_broker reliable_replication_test +LONG_TESTS+=start_broker fanout_perftest shared_perftest multiq_perftest topic_perftest run_failover_soak stop_broker \ + reliable_replication_test federated_cluster_test_with_node_failure -EXTRA_DIST+=fanout_perftest shared_perftest multiq_perftest topic_perftest run_failover_soak reliable_replication_test +EXTRA_DIST+=fanout_perftest shared_perftest multiq_perftest topic_perftest run_failover_soak reliable_replication_test \ + federated_cluster_test_with_node_failure check-long: $(MAKE) check TESTS="$(LONG_TESTS)" VALGRIND= diff --git a/cpp/src/tests/federated_cluster_test_with_node_failure b/cpp/src/tests/federated_cluster_test_with_node_failure new file mode 100755 index 0000000000..f144a676de --- /dev/null +++ b/cpp/src/tests/federated_cluster_test_with_node_failure @@ -0,0 +1,23 @@ +#!/bin/sh + +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +srcdir=`dirname $0` +TEST_NODE_FAILURE=1 $srcdir/federated_cluster_test -- cgit v1.2.1