|
It looks like you are trying to run resmoke.py on the 3.0 branch; the only supported test runner to use for the 3.0 branch is smoke.py. Significant modifications have been made to resmoke.py during the 3.1.x development cycle.
Additionally, running tests from the jstests/auth/ directory is incompatible with the --auth option. The former is verifying auth-specific behavior where tests will start their own mongod process under different configurations, and the latter is designed to run the tests in the jstests/core/ directory against a mongod process with authentication enabled (one of our so-called passthrough suites).
smoke.py quietly enforces this by skipping tests with the string "auth" in their path when the --auth command line option is specified:
if auth or keyFile or use_x509: # For tests running with auth
|
# Skip any tests that run with auth explicitly
|
if parentDir.lower() == "auth" or "auth" in basename.lower():
|
return True
|
$ python buildscripts/smoke.py --auth jstests/auth/auth1.js
|
...
|
0 tests succeeded
|
1 tests didn't get run
|
If you have more questions regarding smoke.py or resmoke.py, then I suggest you post on the mongodb-dev google group to benefit other developers who might be interested.
Hope that helps,
Max
|