Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -711,11 +711,6 @@ axes:
variables:
MONGODB_VERSION: "4.4"
CRYPT_SHARED_VERSION: "6.0.5"
- id: "4.2"
display_name: "4.2"
variables:
MONGODB_VERSION: "4.2"
CRYPT_SHARED_VERSION: "6.0.5"

- id: "topology"
display_name: Topology
Expand Down Expand Up @@ -1131,7 +1126,7 @@ buildvariants:
- matrix_name: "mongo-4.x"
matrix_spec:
ruby: ["ruby-3.0", "ruby-2.7"]
mongodb-version: ['4.4', '4.2']
mongodb-version: ['4.4']
topology: ["standalone", "replica-set", "sharded-cluster"]
Comment on lines 1126 to 1130
os: ubuntu1804
display_name: "${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
Expand Down Expand Up @@ -1258,7 +1253,7 @@ buildvariants:
matrix_spec:
stress: on
ruby: "ruby-2.7"
mongodb-version: ['4.4', '4.2']
mongodb-version: ['4.4']
topology: replica-set
os: ubuntu1804
display_name: "${mongodb-version} ${topology} stress ${ruby}"
Expand Down Expand Up @@ -1458,10 +1453,10 @@ buildvariants:
# tasks:
# - name: "test-fle"

# Runs specs against the latest server. This is not automatically run on PR's
# because we don't want to block PR's when the latest DB breaks something.
# Runs specs against the latest server. Not run on PRs to avoid blocking
# merges when an unreleased MongoDB build breaks something.
- name: 'latest-server'
activate: false
patchable: false
display_name: 'Latest MongoDB Server'
run_on: ubuntu2204-small
expansions:
Expand Down
5 changes: 0 additions & 5 deletions .evergreen/config/axes.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ axes:
variables:
MONGODB_VERSION: "4.4"
CRYPT_SHARED_VERSION: "6.0.5"
- id: "4.2"
display_name: "4.2"
variables:
MONGODB_VERSION: "4.2"
CRYPT_SHARED_VERSION: "6.0.5"

- id: "topology"
display_name: Topology
Expand Down
10 changes: 5 additions & 5 deletions .evergreen/config/standard.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ buildvariants:
- matrix_name: "mongo-4.x"
matrix_spec:
ruby: <%= older_rubies %>
mongodb-version: ['4.4', '4.2']
mongodb-version: ['4.4']
topology: <%= topologies %>
os: ubuntu1804
display_name: "${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
Expand Down Expand Up @@ -232,7 +232,7 @@ buildvariants:
matrix_spec:
stress: on
ruby: <%= supported_mri_ruby_2 %>
mongodb-version: ['4.4', '4.2']
mongodb-version: ['4.4']
topology: replica-set
os: ubuntu1804
display_name: "${mongodb-version} ${topology} stress ${ruby}"
Expand Down Expand Up @@ -372,10 +372,10 @@ buildvariants:
# tasks:
# - name: "test-fle"

# Runs specs against the latest server. This is not automatically run on PR's
# because we don't want to block PR's when the latest DB breaks something.
# Runs specs against the latest server. Not run on PRs to avoid blocking
# merges when an unreleased MongoDB build breaks something.
- name: 'latest-server'
activate: false
patchable: false
display_name: 'Latest MongoDB Server'
run_on: ubuntu2204-small
expansions:
Expand Down
121 changes: 0 additions & 121 deletions .evergreen/run-tests-serverless.sh

This file was deleted.

4 changes: 4 additions & 0 deletions .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ fi
if test -n "$OCSP_CONNECTIVITY"; then
add_uri_option tls=true
add_uri_option "tlsCAFile=$DRIVERS_TOOLS/.evergreen/ocsp/$OCSP_ALGORITHM/ca.pem"
elif test -n "${OCSP_ALGORITHM:-}"; then
add_uri_option tls=true
add_uri_option "tlsCAFile=$_ocsp_ca"
add_uri_option "tlsCertificateKeyFile=spec/support/ocsp/$OCSP_ALGORITHM/server.pem"
fi

if test -n "$EXTRA_URI_OPTIONS"; then
Expand Down
4 changes: 3 additions & 1 deletion spec/mongo/session_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@
it 'does not raise on the second call' do
server = authorized_client.cluster.next_primary
server.with_connection do |connection|
session.pin_to_server(server)
# Set @pinned_server directly to avoid the lint check in pin_to_server,
# which requires a mongos. We are testing unpin, not pin_to_server.
session.instance_variable_set(:@pinned_server, server)
session.unpin(connection)

expect do
Expand Down
6 changes: 3 additions & 3 deletions spec/support/spec_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -411,17 +411,17 @@ def fle_aws_arn
ENV['MONGO_RUBY_DRIVER_AWS_ARN']
end

# AWS temporary access key id (set by set-temp-creds.sh)
# AWS temporary access key id (set by setup-secrets.sh)
def fle_aws_temp_key
ENV['CSFLE_AWS_TEMP_ACCESS_KEY_ID']
end

# AWS temporary secret access key (set by set-temp-creds.sh)
# AWS temporary secret access key (set by setup-secrets.sh)
def fle_aws_temp_secret
ENV['CSFLE_AWS_TEMP_SECRET_ACCESS_KEY']
end

# AWS temporary session token (set by set-temp-creds.sh)
# AWS temporary session token (set by setup-secrets.sh)
def fle_aws_temp_session_token
ENV['CSFLE_AWS_TEMP_SESSION_TOKEN']
end
Expand Down
Loading