summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2012-07-03 13:27:29 -0400
committerSpencer T Brody <spencer@10gen.com>2012-07-03 18:00:07 -0400
commite104c3d1fa47383b0bbee7daf188b2668ad3b75d (patch)
treebb9fa3df4cf6020fed105e817da8de32131002da /buildscripts
parentdfd39b495e3bd5ab6ee7f35edaeb8f17129e7783 (diff)
downloadmongo-e104c3d1fa47383b0bbee7daf188b2668ad3b75d.tar.gz
SERVER-4237 When running tests with auth, skip tests that run with auth normally
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index 9c66c01c3e4..306d799fc69 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -295,7 +295,13 @@ def skipTest(path):
if basename in ["cursor8.js", "indexh.js", "dropdb.js"]:
return True
if auth or keyFile: # For tests running with auth
- return os.path.join(parentDir,basename) in ["sharding/sync3.js", "sharding/sync6.js"]
+ # Skip any tests that run with auth explicitly
+ if parentDir == "auth" or "auth" in basename:
+ return True
+ # These tests don't pass with authentication due to limitations of the test infrastructure,
+ # not due to actual bugs.
+ if os.path.join(parentDir,basename) in ["sharding/sync3.js", "sharding/sync6.js"]:
+ return True
return False
def runTest(test):