From 1dcc62f2adcc0dc6733ca6959dff3442c15792af Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Sun, 30 Dec 2012 17:04:17 -0800 Subject: [PATCH] Add a http server config to the example test config. --- test/config-example.js | 8 ++++++++ test/testutils.js | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/config-example.js b/test/config-example.js index 0ddf080ee9..0e6a64f937 100644 --- a/test/config-example.js +++ b/test/config-example.js @@ -35,4 +35,12 @@ exports.servers = { } }; +exports.http_servers = { + // A local test server + "alpha-http" : { + "ip" : "127.0.0.1", + "port" : 8088, + } +}; + // vim:sw=2:sts=2:ts=8:et diff --git a/test/testutils.js b/test/testutils.js index 07fd28d37d..55e87a38dc 100644 --- a/test/testutils.js +++ b/test/testutils.js @@ -107,8 +107,6 @@ var build_setup = function (opts, host) { var build_teardown = function (host) { return function (done) { - - host = host || config.server_default; var data = this.store[host];