From d0b52281f8cd2b29484660b6a2e30431dcc2cecc Mon Sep 17 00:00:00 2001 From: Sergey Zelenov Date: Fri, 17 Apr 2026 17:16:18 +0200 Subject: [PATCH 1/2] test(NODE-7540): run BSON compability tests against server version 8.0 --- .evergreen/config.in.yml | 24 ++++++++++++------------ .evergreen/config.yml | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.evergreen/config.in.yml b/.evergreen/config.in.yml index a25f01069d..37378672db 100644 --- a/.evergreen/config.in.yml +++ b/.evergreen/config.in.yml @@ -988,13 +988,13 @@ tasks: args: - .evergreen/run-search-index-management-tests.sh - - name: test-bson-latest-driver-7.0.0-unit-tests + - name: test-bson-8.0-driver-7.0.0-unit-tests commands: - command: expansions.update type: setup params: updates: - - { key: VERSION, value: latest } + - { key: VERSION, value: "8.0" } - { key: NODE_LTS_VERSION, value: "20.19.0" } - func: install dependencies vars: @@ -1008,13 +1008,13 @@ tasks: - func: log state - func: run unit tests - - name: test-bson-latest-driver-7.0.0-server-tests + - name: test-bson-8.0-driver-7.0.0-server-tests commands: - command: expansions.update type: setup params: updates: - - { key: VERSION, value: latest } + - { key: VERSION, value: "8.0" } - { key: TOPOLOGY, value: server } - { key: AUTH, value: auth } - { key: SSL, value: nossl } @@ -1033,13 +1033,13 @@ tasks: - func: log state - func: run tests - - name: test-bson-latest-driver-7.0.0-replica_set-tests + - name: test-bson-8.0-driver-7.0.0-replica_set-tests commands: - command: expansions.update type: setup params: updates: - - { key: VERSION, value: latest } + - { key: VERSION, value: "8.0" } - { key: TOPOLOGY, value: replica_set } - { key: AUTH, value: auth } - { key: SSL, value: nossl } @@ -1058,13 +1058,13 @@ tasks: - func: log state - func: run tests - - name: test-bson-latest-driver-7.0.0-sharded_cluster-tests + - name: test-bson-8.0-driver-7.0.0-sharded_cluster-tests commands: - command: expansions.update type: setup params: updates: - - { key: VERSION, value: latest } + - { key: VERSION, value: "8.0" } - { key: TOPOLOGY, value: sharded_cluster } - { key: AUTH, value: auth } - { key: SSL, value: nossl } @@ -1369,7 +1369,7 @@ buildvariants: display_name: BSON compatibility tests run_on: rhel80-large tasks: - - test-bson-latest-driver-7.0.0-unit-tests - - test-bson-latest-driver-7.0.0-server-tests - - test-bson-latest-driver-7.0.0-replica_set-tests - - test-bson-latest-driver-7.0.0-sharded_cluster-tests + - test-bson-8.0-driver-7.0.0-unit-tests + - test-bson-8.0-driver-7.0.0-server-tests + - test-bson-8.0-driver-7.0.0-replica_set-tests + - test-bson-8.0-driver-7.0.0-sharded_cluster-tests diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 219087a1f8..a85e55fb13 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -912,13 +912,13 @@ tasks: add_expansions_to_env: true args: - .evergreen/run-search-index-management-tests.sh - - name: test-bson-latest-driver-7.0.0-unit-tests + - name: test-bson-8.0-driver-7.0.0-unit-tests commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '8.0'} - {key: NODE_LTS_VERSION, value: 20.19.0} - func: install dependencies vars: @@ -931,13 +931,13 @@ tasks: PACKAGE: https://github.com/mongodb/js-bson#HEAD - func: log state - func: run unit tests - - name: test-bson-latest-driver-7.0.0-server-tests + - name: test-bson-8.0-driver-7.0.0-server-tests commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '8.0'} - {key: TOPOLOGY, value: server} - {key: AUTH, value: auth} - {key: SSL, value: nossl} @@ -955,13 +955,13 @@ tasks: PACKAGE: https://github.com/mongodb/js-bson#HEAD - func: log state - func: run tests - - name: test-bson-latest-driver-7.0.0-replica_set-tests + - name: test-bson-8.0-driver-7.0.0-replica_set-tests commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '8.0'} - {key: TOPOLOGY, value: replica_set} - {key: AUTH, value: auth} - {key: SSL, value: nossl} @@ -979,13 +979,13 @@ tasks: PACKAGE: https://github.com/mongodb/js-bson#HEAD - func: log state - func: run tests - - name: test-bson-latest-driver-7.0.0-sharded_cluster-tests + - name: test-bson-8.0-driver-7.0.0-sharded_cluster-tests commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '8.0'} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - {key: SSL, value: nossl} @@ -3513,10 +3513,10 @@ buildvariants: display_name: BSON compatibility tests run_on: rhel80-large tasks: - - test-bson-latest-driver-7.0.0-unit-tests - - test-bson-latest-driver-7.0.0-server-tests - - test-bson-latest-driver-7.0.0-replica_set-tests - - test-bson-latest-driver-7.0.0-sharded_cluster-tests + - test-bson-8.0-driver-7.0.0-unit-tests + - test-bson-8.0-driver-7.0.0-server-tests + - test-bson-8.0-driver-7.0.0-replica_set-tests + - test-bson-8.0-driver-7.0.0-sharded_cluster-tests - name: rhel80-large-iron display_name: rhel8 Node20.19.0 run_on: rhel80-large From 07811e35407e2c9fb3d8e9e3df880534ed7d261c Mon Sep 17 00:00:00 2001 From: Sergey Zelenov Date: Fri, 17 Apr 2026 18:23:53 +0200 Subject: [PATCH 2/2] bson-latest, driver-7.0.0, server 8.0 --- .evergreen/config.in.yml | 17 ++++++++--------- .evergreen/config.yml | 17 ++++++++--------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.evergreen/config.in.yml b/.evergreen/config.in.yml index 37378672db..34985532cf 100644 --- a/.evergreen/config.in.yml +++ b/.evergreen/config.in.yml @@ -988,13 +988,12 @@ tasks: args: - .evergreen/run-search-index-management-tests.sh - - name: test-bson-8.0-driver-7.0.0-unit-tests + - name: test-bson-latest-driver-7.0.0-unit-tests commands: - command: expansions.update type: setup params: updates: - - { key: VERSION, value: "8.0" } - { key: NODE_LTS_VERSION, value: "20.19.0" } - func: install dependencies vars: @@ -1008,7 +1007,7 @@ tasks: - func: log state - func: run unit tests - - name: test-bson-8.0-driver-7.0.0-server-tests + - name: test-bson-latest-driver-7.0.0-server-tests commands: - command: expansions.update type: setup @@ -1033,7 +1032,7 @@ tasks: - func: log state - func: run tests - - name: test-bson-8.0-driver-7.0.0-replica_set-tests + - name: test-bson-latest-driver-7.0.0-replica_set-tests commands: - command: expansions.update type: setup @@ -1058,7 +1057,7 @@ tasks: - func: log state - func: run tests - - name: test-bson-8.0-driver-7.0.0-sharded_cluster-tests + - name: test-bson-latest-driver-7.0.0-sharded_cluster-tests commands: - command: expansions.update type: setup @@ -1369,7 +1368,7 @@ buildvariants: display_name: BSON compatibility tests run_on: rhel80-large tasks: - - test-bson-8.0-driver-7.0.0-unit-tests - - test-bson-8.0-driver-7.0.0-server-tests - - test-bson-8.0-driver-7.0.0-replica_set-tests - - test-bson-8.0-driver-7.0.0-sharded_cluster-tests + - test-bson-latest-driver-7.0.0-unit-tests + - test-bson-latest-driver-7.0.0-server-tests + - test-bson-latest-driver-7.0.0-replica_set-tests + - test-bson-latest-driver-7.0.0-sharded_cluster-tests diff --git a/.evergreen/config.yml b/.evergreen/config.yml index a85e55fb13..d2748818be 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -912,13 +912,12 @@ tasks: add_expansions_to_env: true args: - .evergreen/run-search-index-management-tests.sh - - name: test-bson-8.0-driver-7.0.0-unit-tests + - name: test-bson-latest-driver-7.0.0-unit-tests commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: '8.0'} - {key: NODE_LTS_VERSION, value: 20.19.0} - func: install dependencies vars: @@ -931,7 +930,7 @@ tasks: PACKAGE: https://github.com/mongodb/js-bson#HEAD - func: log state - func: run unit tests - - name: test-bson-8.0-driver-7.0.0-server-tests + - name: test-bson-latest-driver-7.0.0-server-tests commands: - command: expansions.update type: setup @@ -955,7 +954,7 @@ tasks: PACKAGE: https://github.com/mongodb/js-bson#HEAD - func: log state - func: run tests - - name: test-bson-8.0-driver-7.0.0-replica_set-tests + - name: test-bson-latest-driver-7.0.0-replica_set-tests commands: - command: expansions.update type: setup @@ -979,7 +978,7 @@ tasks: PACKAGE: https://github.com/mongodb/js-bson#HEAD - func: log state - func: run tests - - name: test-bson-8.0-driver-7.0.0-sharded_cluster-tests + - name: test-bson-latest-driver-7.0.0-sharded_cluster-tests commands: - command: expansions.update type: setup @@ -3513,10 +3512,10 @@ buildvariants: display_name: BSON compatibility tests run_on: rhel80-large tasks: - - test-bson-8.0-driver-7.0.0-unit-tests - - test-bson-8.0-driver-7.0.0-server-tests - - test-bson-8.0-driver-7.0.0-replica_set-tests - - test-bson-8.0-driver-7.0.0-sharded_cluster-tests + - test-bson-latest-driver-7.0.0-unit-tests + - test-bson-latest-driver-7.0.0-server-tests + - test-bson-latest-driver-7.0.0-replica_set-tests + - test-bson-latest-driver-7.0.0-sharded_cluster-tests - name: rhel80-large-iron display_name: rhel8 Node20.19.0 run_on: rhel80-large