Skip to content

RUBY-2832 Fix FLE on jruby-9.2 configuration in Evergreen #2407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 17, 2022
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: 13 additions & 2 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1303,8 +1303,6 @@ buildvariants:
- matrix_name: "fle-4.4"
matrix_spec:
auth-and-ssl: "noauth-and-nossl"
# https://jira.mongodb.org/browse/RUBY-2832
# ruby: [ruby-3.0, ruby-2.7, jruby-9.2]
ruby: [ruby-3.1, ruby-3.0, ruby-2.7]
topology: standalone
mongodb-version: ['4.4']
Expand Down Expand Up @@ -1338,6 +1336,19 @@ buildvariants:
tasks:
- name: "test-fle"

- matrix_name: "fle-jruby"
matrix_spec:
auth-and-ssl: "noauth-and-nossl"
ruby: [jruby-9.2, jruby-9.3]
topology: standalone
mongodb-version: ['5.0']
os: ubuntu1804
fle: fle
docker-distro: ubuntu1804
display_name: "FLE: ${mongodb-version} ${ruby}"
tasks:
- name: "test-fle-via-docker"

- matrix_name: aws-auth-regular
matrix_spec:
auth-and-ssl: aws-regular
Expand Down
15 changes: 13 additions & 2 deletions .evergreen/config/standard.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,6 @@ buildvariants:
- matrix_name: "fle-4.4"
matrix_spec:
auth-and-ssl: "noauth-and-nossl"
# https://jira.mongodb.org/browse/RUBY-2832
# ruby: [ruby-3.0, ruby-2.7, jruby-9.2]
ruby: [ruby-3.1, ruby-3.0, ruby-2.7]
topology: standalone
mongodb-version: ['4.4']
Expand Down Expand Up @@ -472,6 +470,19 @@ buildvariants:
tasks:
- name: "test-fle"

- matrix_name: "fle-jruby"
matrix_spec:
auth-and-ssl: "noauth-and-nossl"
ruby: [jruby-9.2, jruby-9.3]
topology: standalone
mongodb-version: ['5.0']
os: ubuntu1804
fle: fle
docker-distro: ubuntu1804
display_name: "FLE: ${mongodb-version} ${ruby}"
tasks:
- name: "test-fle-via-docker"

- matrix_name: aws-auth-regular
matrix_spec:
auth-and-ssl: aws-regular
Expand Down
1 change: 1 addition & 0 deletions .evergreen/run-tests-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ done

if test -f .env.private; then
params="$params -a .env.private"
gem install dotenv || gem install --user dotenv
fi

# OCSP verifier tests need debian10 so that ocsp mock works
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

let(:error_regex) do
if BSON::Environment.jruby?
/Bad file descriptor/
/SocketError/
else
/Connection refused/
end
Expand Down
2 changes: 1 addition & 1 deletion spec/shared