diff options
| author | Gordon Sim <gsim@apache.org> | 2012-02-29 16:10:06 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2012-02-29 16:10:06 +0000 |
| commit | ae7e857ae13bf1acb7901ecf20f35b1c1cb5e868 (patch) | |
| tree | ce014d86cbe10f810c9aeb4743531441ae7d46db /qpid/cpp/src/tests/ssl_test | |
| parent | dac9286ab2f28df8d637fcc143262b5129fb1142 (diff) | |
| download | qpid-python-ae7e857ae13bf1acb7901ecf20f35b1c1cb5e868.tar.gz | |
QPID-3832: Restore transport option for connection (as default for urls that don't specify one explicitly)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295172 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ssl_test')
| -rwxr-xr-x | qpid/cpp/src/tests/ssl_test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ssl_test b/qpid/cpp/src/tests/ssl_test index 4dbb7df392..fc634ba242 100755 --- a/qpid/cpp/src/tests/ssl_test +++ b/qpid/cpp/src/tests/ssl_test @@ -140,6 +140,12 @@ URL=amqp:ssl:$TEST_HOSTNAME:$PORT MSG=`./qpid-receive -b $URL -a "foo;{create:always}" --messages 1` test "$MSG" = "hello" || { echo "receive failed '$MSG' != 'hello'"; exit 1; } +## Test connection with a combination of URL and connection options (in messaging API) +URL=$TEST_HOSTNAME:$PORT +./qpid-send -b $URL --connection-options '{transport:ssl,heartbeat:2}' --content-string='hello again' -a "foo;{create:always}" +MSG=`./qpid-receive -b $URL --connection-options '{transport:ssl,heartbeat:2}' -a "foo;{create:always}" --messages 1` +test "$MSG" = "hello again" || { echo "receive failed '$MSG' != 'hello again'"; exit 1; } + #### Client Authentication tests start_authenticating_broker |
