summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/BrokerFixture.h1
-rwxr-xr-xcpp/src/tests/run_federation_tests4
-rwxr-xr-xcpp/src/tests/start_broker2
3 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/tests/BrokerFixture.h b/cpp/src/tests/BrokerFixture.h
index fd350b77fe..83b3f621c7 100644
--- a/cpp/src/tests/BrokerFixture.h
+++ b/cpp/src/tests/BrokerFixture.h
@@ -47,6 +47,7 @@ struct BrokerFixture {
opts.enableMgmt=false;
opts.workerThreads=1;
opts.dataDir="";
+ opts.auth=false;
broker = Broker::create(opts);
// TODO aconway 2007-12-05: At one point BrokerFixture
// tests could hang in Connection ctor if the following
diff --git a/cpp/src/tests/run_federation_tests b/cpp/src/tests/run_federation_tests
index 63f0baa1ae..1f5917af0e 100755
--- a/cpp/src/tests/run_federation_tests
+++ b/cpp/src/tests/run_federation_tests
@@ -4,9 +4,9 @@
trap stop_brokers EXIT
start_brokers() {
- ../qpidd --daemon --port 0 --no-data-dir > qpidd.port
+ ../qpidd --daemon --port 0 --no-data-dir --auth no > qpidd.port
LOCAL_PORT=`cat qpidd.port`
- ../qpidd --daemon --port 0 --no-data-dir > qpidd.port
+ ../qpidd --daemon --port 0 --no-data-dir --auth no > qpidd.port
REMOTE_PORT=`cat qpidd.port`
}
diff --git a/cpp/src/tests/start_broker b/cpp/src/tests/start_broker
index 0d4352644b..7d5cb7d73d 100755
--- a/cpp/src/tests/start_broker
+++ b/cpp/src/tests/start_broker
@@ -1,4 +1,4 @@
#!/bin/sh
rm -f qpidd.vglog qpidd.log
test -n "$VALGRIND" && VALGRIND="$VALGRIND --log-file-exactly=qpidd.vglog --"
-exec libtool --mode=execute $VALGRIND ../qpidd --daemon --port 0 --log-output qpidd.log "$@" > qpidd.port
+exec libtool --mode=execute $VALGRIND ../qpidd --auth no --daemon --port 0 --log-output qpidd.log "$@" > qpidd.port