diff options
author | Spencer T Brody <spencer@10gen.com> | 2011-11-11 16:15:11 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2011-11-11 16:32:18 -0500 |
commit | 805982794d33711f538713e193835a405a6293f4 (patch) | |
tree | f6f51d215fe914c9a0c8e256683344e0413c6718 /buildscripts | |
parent | 58dcee3a0000a3bafc49afb074bba4fd20f6bbde (diff) | |
download | mongo-805982794d33711f538713e193835a405a6293f4.tar.gz |
Authenticate at the beginning of every test.
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index a1086291550..be3d5917acc 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -318,6 +318,7 @@ def runTest(test): 'TestData.keyFile = ' + ( '"' + keyFile + '"' if keyFile else 'null' ) + ";" + \ 'TestData.keyFileData = ' + ( '"' + keyFileData + '"' if keyFile else 'null' ) + ";" if auth and usedb: + evalString += 'db.getSiblingDB("admin").addUser("admin","password");' evalString += 'jsTest.authenticate(db.getMongo());' argv = argv + [ '--eval', evalString] |