Skip to content

Commit 828c5ac

Browse files
minor: skip sessions not supported tests on 8.1+ (#1312)
1 parent 3d2c0de commit 828c5ac

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ buildvariants:
238238

239239
- name: gcp-kms
240240
display_name: "GCP KMS"
241-
# patchable: false
241+
patchable: false
242242
run_on:
243243
# The GCP CLI is not available on RHEL/Ubuntu machines.
244244
- debian11-small

src/test/spec/sessions/sessions_not_supported.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ use crate::{
1212

1313
async fn spawn_mongocryptd(name: &str) -> Option<(EventClient, Process)> {
1414
let util_client = Client::for_test().await;
15-
if util_client.server_version_lt(4, 2) {
15+
// TODO RUST-1447: unskip on 8.1+
16+
if util_client.server_version_lt(4, 2) || util_client.server_version_gte(8, 1) {
1617
log_uncaptured(format!(
17-
"Skipping {name}: cannot spawn mongocryptd due to server version < 4.2"
18+
"Skipping {name}: cannot spawn mongocryptd due to server version < 4.2 or server \
19+
version >= 8.1"
1820
));
1921
return None;
2022
}

0 commit comments

Comments
 (0)