diff options
author | Michael Goulish <mgoulish@apache.org> | 2011-01-11 17:29:22 +0000 |
---|---|---|
committer | Michael Goulish <mgoulish@apache.org> | 2011-01-11 17:29:22 +0000 |
commit | a3fa590892df1c668409a3ef468b74838e873832 (patch) | |
tree | de347a3d7a55c87a9a0f78266ea293cfb6c662e4 /cpp/src | |
parent | 5ab4ca01eb76291567c9f148882cd25ebdc5cce7 (diff) | |
download | qpid-python-a3fa590892df1c668409a3ef468b74838e873832.tar.gz |
Remove unnecessary sleeps.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/tests/sasl_fed_ex | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/src/tests/sasl_fed_ex b/cpp/src/tests/sasl_fed_ex index 11af7b5537..0740650d6c 100755 --- a/cpp/src/tests/sasl_fed_ex +++ b/cpp/src/tests/sasl_fed_ex @@ -163,7 +163,6 @@ $QPIDD_EXEC \ $COMMON_BROKER_OPTIONS \ --log-to-file $tmp_root/qpidd_dst.log 2> /dev/null -sleep 2 # I am not randomizing these names, because this test creates its own brokers. QUEUE_NAME=sasl_fed_queue @@ -184,7 +183,6 @@ $QPID_CONFIG_EXEC -a localhost:${DST_TCP_PORT} add exchange direct $EXCHANGE_NAM $QPID_CONFIG_EXEC -a localhost:${SRC_TCP_PORT} add queue $QUEUE_NAME $QPID_CONFIG_EXEC -a localhost:${DST_TCP_PORT} add queue $QUEUE_NAME -sleep 5 #echo "-----------------------" #echo "create bindings" @@ -192,7 +190,6 @@ sleep 5 $QPID_CONFIG_EXEC -a localhost:${SRC_TCP_PORT} bind $EXCHANGE_NAME $QUEUE_NAME $ROUTING_KEY $QPID_CONFIG_EXEC -a localhost:${DST_TCP_PORT} bind $EXCHANGE_NAME $QUEUE_NAME $ROUTING_KEY -sleep 5 #echo "-----------------------" #echo "qpid-route route add" @@ -207,6 +204,7 @@ $QPID_ROUTE_EXEC route add localhost:${DST_TCP_PORT} $TEST_HOSTNAME:${SRC_SSL_ #echo "-----------------------" #$PYTHON_COMMANDS/qpid-route route list localhost:${DST_TCP_PORT} +# I don't know how to avoid this sleep yet. It has to come after route-creation. sleep 5 n_messages=100 @@ -214,14 +212,11 @@ n_messages=100 ./datagen --count ${n_messages} | ./sender --broker localhost --port ${SRC_TCP_PORT} --exchange ${EXCHANGE_NAME} --routing-key ${ROUTING_KEY} --mechanism ANONYMOUS -sleep 5 - #echo "-----------------------" #echo "Examine DST Broker" #echo "-----------------------" dst_message_count=`qpid-stat -q localhost:${DST_TCP_PORT} | grep sasl_fed_queue | awk '{print $2}'` -sleep 3 #echo "-----------------------" #echo "Asking brokers to quit." |