-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should hopefully fix some CI breakage for us, same as in Compass. Refs: mongodb-js/compass@a322429
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ function try_connect_connection_string() { | |
} | ||
|
||
function test_for_version() { | ||
MONGODB_VERSION="$1" docker-compose -f docker/ldap/docker-compose.yaml up -d | ||
MONGODB_VERSION="$1" docker compose -f docker/ldap/docker-compose.yaml up -d | ||
|
||
sleep 10 # let mongod start up | ||
FAILED_EXPLICIT=$(try_connect_explicit '[email protected]' 'Password1!') | ||
FAILED_CONNECTION_STRING=$(try_connect_connection_string 'mongodb://writer%40EXAMPLE.COM:Password1!@localhost:30017/$external?authMechanism=PLAIN' '[email protected]') | ||
|
||
MONGODB_VERSION="$1" docker-compose -f docker/ldap/docker-compose.yaml down | ||
MONGODB_VERSION="$1" docker compose -f docker/ldap/docker-compose.yaml down | ||
|
||
if [ $FAILED_EXPLICIT = yes ]; then | ||
ANY_FAILED=yes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters