qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1497339 - in /qpid/trunk/qpid/cpp/src/tests: dynamic_log_level_test run_cli_tests run_federation_tests
Date Thu, 27 Jun 2013 13:11:11 GMT
Author: gsim
Date: Thu Jun 27 13:11:11 2013
New Revision: 1497339

URL: http://svn.apache.org/r1497339
Log:
NO-JIRA: restrict broker to listen only on loopback interface (ensures they are listening
on the right interface when port is 0)

Modified:
    qpid/trunk/qpid/cpp/src/tests/dynamic_log_level_test
    qpid/trunk/qpid/cpp/src/tests/run_cli_tests
    qpid/trunk/qpid/cpp/src/tests/run_federation_tests

Modified: qpid/trunk/qpid/cpp/src/tests/dynamic_log_level_test
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/dynamic_log_level_test?rev=1497339&r1=1497338&r2=1497339&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/dynamic_log_level_test (original)
+++ qpid/trunk/qpid/cpp/src/tests/dynamic_log_level_test Thu Jun 27 13:11:11 2013
@@ -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

Modified: qpid/trunk/qpid/cpp/src/tests/run_cli_tests
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/run_cli_tests?rev=1497339&r1=1497338&r2=1497339&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/run_cli_tests (original)
+++ qpid/trunk/qpid/cpp/src/tests/run_cli_tests Thu Jun 27 13:11:11 2013
@@ -56,9 +56,9 @@ start_brokers() {
 	targs="--ignore=*xml*"
     fi
 
-    ../qpidd --daemon --port 0 --no-data-dir --no-module-dir --mgmt-publish no --auth no
$xargs > qpidd.port
+    ../qpidd --daemon --port 0 --interface 127.0.0.1 --no-data-dir --no-module-dir --mgmt-publish
no --auth no $xargs > qpidd.port
     LOCAL_PORT=`cat qpidd.port`
-    ../qpidd --daemon --port 0 --no-data-dir --no-module-dir --mgmt-publish no --auth no
$xargs > qpidd.port
+    ../qpidd --daemon --port 0 --interface 127.0.0.1 --no-data-dir --no-module-dir --mgmt-publish
no --auth no $xargs > qpidd.port
     REMOTE_PORT=`cat qpidd.port`
 }
 

Modified: qpid/trunk/qpid/cpp/src/tests/run_federation_tests
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/run_federation_tests?rev=1497339&r1=1497338&r2=1497339&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/run_federation_tests (original)
+++ qpid/trunk/qpid/cpp/src/tests/run_federation_tests Thu Jun 27 13:11:11 2013
@@ -33,7 +33,7 @@ else
     SKIPTESTS='-i *_xml'    # note: single quotes prevent expansion of *
 fi
 
-QPIDD_CMD="../qpidd --daemon --port 0 --no-data-dir $MODULES --auth no --log-enable=info+
--log-enable=debug+:Bridge --log-to-file"
+QPIDD_CMD="../qpidd --daemon --port 0 --interface 127.0.0.1 --no-data-dir $MODULES --auth
no --log-enable=info+ --log-enable=debug+:Bridge --log-to-file"
 start_brokers() {
     rm -f fed_local.log fed_remote.log fed_b1.log fed_b2.log
     LOCAL_PORT=$($QPIDD_CMD fed_local.log --federation-tag LOCAL)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message