File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,6 @@ functions:
3434 add_expansions_to_env : true
3535 args :
3636 - ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
37- - command : shell.exec
38- params :
39- binary : bash
40- script : |
41- cat mo-expansion.yml
4237 - command : expansions.update
4338 params :
4439 file : mo-expansion.yml
Original file line number Diff line number Diff line change 55
66PARSED_URI = parse_uri (os .getenv ("MONGODB_URI" )) if os .getenv ("MONGODB_URI" ) else {}
77
8+ # Temporary fix for https://github.com/mongodb-labs/mongo-orchestration/issues/268
9+ if "USER" in PARSED_URI and "PASSWORD" in PARSED_URI :
10+ PARSED_URI ["OPTIONS" ]["tls" ] = True
11+
812DATABASES = {
913 "default" : {
1014 ** PARSED_URI ,
1721 "NAME" : "djangotests-other" ,
1822 },
1923}
20- print ( DATABASES )
24+
2125DEFAULT_AUTO_FIELD = "django_mongodb_backend.fields.ObjectIdAutoField"
2226PASSWORD_HASHERS = ("django.contrib.auth.hashers.MD5PasswordHasher" ,)
2327SECRET_KEY = "django_tests_secret_key"
You can’t perform that action at this time.
0 commit comments