summaryrefslogtreecommitdiff
path: root/cpp/src/tests/dynamic_log_level_test
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-06-27 13:11:11 +0000
committerGordon Sim <gsim@apache.org>2013-06-27 13:11:11 +0000
commit27902a7bc56a5543f449d68990e9752ce9e54138 (patch)
treed016a7982703921f13cb57cf2f480a360da7518d /cpp/src/tests/dynamic_log_level_test
parent60b363ee8de86f8dbcbe5c2750a707fdbd6fcd1f (diff)
downloadqpid-python-27902a7bc56a5543f449d68990e9752ce9e54138.tar.gz
NO-JIRA: restrict broker to listen only on loopback interface (ensures they are listening on the right interface when port is 0)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1497339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/dynamic_log_level_test')
-rwxr-xr-xcpp/src/tests/dynamic_log_level_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/dynamic_log_level_test b/cpp/src/tests/dynamic_log_level_test
index a80510ad08..9a9d6c8724 100755
--- a/cpp/src/tests/dynamic_log_level_test
+++ b/cpp/src/tests/dynamic_log_level_test
@@ -76,7 +76,7 @@ cleanup
# Start another broker with --log-disable settings and make sure the management string receives them
rm -rf $LOG_FILE
-PORT=$($QPIDD_EXEC --auth=no --no-module-dir --daemon --port=0 --log-to-file $LOG_FILE --log-enable debug:foo --log-disable debug:bar) || error "Could not start broker"
+PORT=$($QPIDD_EXEC --auth=no --no-module-dir --daemon --port=0 --interface 127.0.0.1 --log-to-file $LOG_FILE --log-enable debug:foo --log-disable debug:bar) || error "Could not start broker"
echo Broker for log level test started on $PORT, pid is $($QPIDD_EXEC --no-module-dir --check --port $PORT)
$srcdir/qpid-ctrl -b localhost:$PORT getLogLevel > dynamic_log_level.tmp