Skip to content

Conversation

kmahar
Copy link
Contributor

@kmahar kmahar commented Sep 28, 2021

Adds additional URIs to our Atlas connectivity tests.

patch

# DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
SWIFT_VERSION=${SWIFT_VERSION} ATLAS_REPL='${ATLAS_REPL}' ATLAS_SHRD='${ATLAS_SHRD}' ATLAS_FREE='${ATLAS_FREE}' ATLAS_TLS11='${ATLAS_TLS11}' ATLAS_TLS12='${ATLAS_TLS12}' \
ATLAS_REPL_SRV='${ATLAS_REPL_SRV}' ATLAS_SHRD_SRV='${ATLAS_SHRD_SRV}' ATLAS_FREE_SRV='${ATLAS_FREE_SRV}' ATLAS_TLS11_SRV='${ATLAS_TLS11_SRV}' ATLAS_TLS12_SRV='${ATLAS_TLS12_SRV}' \
ATLAS_SERVERLESS='${ATLAS_SERVERLESS}' ATLAS_SERVERLESS_SRV='${ATLAS_SERVERLESS_SRV}' \
Copy link
Contributor Author

@kmahar kmahar Sep 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are both now private variables in our Evergreen project

private let configs = ["ATLAS_REPL", "ATLAS_SHRD", "ATLAS_FREE", "ATLAS_TLS11", "ATLAS_TLS12"]
private let configs = ["ATLAS_REPL", "ATLAS_SHRD", "ATLAS_FREE", "ATLAS_TLS11", "ATLAS_TLS12", "ATLAS_SERVERLESS"]
private let srvConfigs = configs.map { $0 + "_SRV" }
/// Currently, almost all of the Atlas test instances are running 3.4 which does not support the new "hello" command.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these instances were recently all upgraded to 3.6 (and new enough patch versions to have "hello" backported), so the special-casing is no longer necessary

@kmahar
Copy link
Contributor Author

kmahar commented Sep 28, 2021

(the one test failure is unrelated, we start skipping it in #676)

@kmahar kmahar merged commit 459e30d into main Sep 29, 2021
@kmahar kmahar deleted the SWIFT-1250/serverless-connectivity-tests branch September 29, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants