From e104c3d1fa47383b0bbee7daf188b2668ad3b75d Mon Sep 17 00:00:00 2001 From: Spencer T Brody Date: Tue, 3 Jul 2012 13:27:29 -0400 Subject: SERVER-4237 When running tests with auth, skip tests that run with auth normally --- buildscripts/smoke.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'buildscripts') 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): -- cgit v1.2.1