diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-02-12 11:33:07 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-02-12 11:33:07 -0500 |
commit | 2f406ce7620eb7850fb79db9e8028985826894bc (patch) | |
tree | 5c440ed132c34a4f9e32f2ca3189b1a67fed6dc1 /SConstruct | |
parent | eaf2a30a5b24b81836c0de6e22f67b15cfc82990 (diff) | |
download | mongo-2f406ce7620eb7850fb79db9e8028985826894bc.tar.gz |
test for http interface
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 9794913bbfc..81284cc0f2b 100644 --- a/SConstruct +++ b/SConstruct @@ -1084,6 +1084,7 @@ clientTests += [ clientEnv.Program( "firstExample" , [ "client/examples/first.cp clientTests += [ clientEnv.Program( "secondExample" , [ "client/examples/second.cpp" ] ) ] clientTests += [ clientEnv.Program( "whereExample" , [ "client/examples/whereExample.cpp" ] ) ] clientTests += [ clientEnv.Program( "authTest" , [ "client/examples/authTest.cpp" ] ) ] +clientTests += [ clientEnv.Program( "httpClientTest" , [ "client/examples/httpClientTest.cpp" ] ) ] # testing test = testEnv.Program( "test" , Glob( "dbtests/*.cpp" ) ) @@ -1278,7 +1279,7 @@ def startMongodForTests( env, target, source ): dirName = "/data/db/sconsTests/" ensureDir( dirName ) from subprocess import Popen - mongodForTests = Popen( [ mongod[0].abspath, "--port", mongodForTestsPort, "--dbpath", dirName, "--nohttpinterface" ] ) + mongodForTests = Popen( [ mongod[0].abspath, "--port", mongodForTestsPort, "--dbpath", dirName ] ) if not utils.didMongodStart( 32000 ): print( "Failed to start mongod" ) |