diff options
| author | Michael Goulish <mgoulish@apache.org> | 2011-03-08 20:59:26 +0000 |
|---|---|---|
| committer | Michael Goulish <mgoulish@apache.org> | 2011-03-08 20:59:26 +0000 |
| commit | 6e790a04de3b94a702677e5c70ff39ab147e1050 (patch) | |
| tree | fb944d089ac77d59679f0613e77dc6be2ae500c3 /qpid/cpp/src/tests/sasl_fed_ex | |
| parent | 9a40feaeac53cfa754f15942144dc07108d7d076 (diff) | |
| download | qpid-python-6e790a04de3b94a702677e5c70ff39ab147e1050.tar.gz | |
QPID-1672
clustered versions of the 4 federated sasl external tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079539 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/sasl_fed_ex')
| -rwxr-xr-x | qpid/cpp/src/tests/sasl_fed_ex | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/qpid/cpp/src/tests/sasl_fed_ex b/qpid/cpp/src/tests/sasl_fed_ex index f10f6e6446..71dece56a9 100755 --- a/qpid/cpp/src/tests/sasl_fed_ex +++ b/qpid/cpp/src/tests/sasl_fed_ex @@ -124,6 +124,10 @@ DST_TCP_PORT=5807 SRC_TCP_PORT_2=5802 DST_TCP_PORT_2=5803 +CLUSTER_1_NAME=sasl_fed_ex_cluster_1 +CLUSTER_2_NAME=sasl_fed_ex_cluster_2 + + SSL_LIB=${moduledir}/ssl.so CLUSTER_LIB=${moduledir}/cluster.so @@ -182,7 +186,7 @@ function start_brokers { --port=${SRC_TCP_PORT} \ --ssl-port ${SRC_SSL_PORT} \ ${COMMON_BROKER_OPTIONS} \ - --cluster-name sasl_fed_ex_cluster \ + --cluster-name ${CLUSTER_1_NAME} \ --log-to-file $tmp_root/qpidd_src.log 2> /dev/null broker_ports[0]=${SRC_TCP_PORT} @@ -192,7 +196,7 @@ function start_brokers { --port=${SRC_TCP_PORT_2} \ --ssl-port ${SRC_SSL_PORT_2} \ ${COMMON_BROKER_OPTIONS} \ - --cluster-name sasl_fed_ex_cluster \ + --cluster-name ${CLUSTER_1_NAME} \ --log-to-file $tmp_root/qpidd_src_2.log 2> /dev/null broker_ports[1]=${SRC_TCP_PORT_2} @@ -205,7 +209,7 @@ function start_brokers { --port=${DST_TCP_PORT} \ --ssl-port ${DST_SSL_PORT} \ ${COMMON_BROKER_OPTIONS} \ - --cluster-name sasl_fed_ex_cluster \ + --cluster-name ${CLUSTER_2_NAME} \ --log-to-file $tmp_root/qpidd_dst.log 2> /dev/null broker_ports[2]=${DST_TCP_PORT} @@ -215,7 +219,7 @@ function start_brokers { --port=${DST_TCP_PORT_2} \ --ssl-port ${DST_SSL_PORT_2} \ ${COMMON_BROKER_OPTIONS} \ - --cluster-name sasl_fed_ex_cluster \ + --cluster-name ${CLUSTER_2_NAME} \ --log-to-file $tmp_root/qpidd_dst_2.log 2> /dev/null broker_ports[3]=${DST_TCP_PORT_2} @@ -316,11 +320,11 @@ fi # to avoid false negatives. sleep 5 +# This should work the same whether or not we are running a clustered test. print "check the link" link_status=$($QPID_ROUTE_EXEC link list localhost:${DST_TCP_PORT} | tail -1 | awk '{print $5}') print "link_status == ${link_status}" - halt_brokers sleep 1 |
