Skip to content

PHPC-2555: Stop testing with MongoDB 4.0 #1827

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 4 commits into from
May 20, 2025
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
1 change: 0 additions & 1 deletion .evergreen/config/generate-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
'5.0',
'4.4',
'4.2',
'4.0',
];

// TODO: Change when PHP 8.4 is stable
Expand Down
24 changes: 12 additions & 12 deletions .evergreen/config/generated/test-variant/libmongoc.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 32 additions & 32 deletions .evergreen/config/generated/test-variant/php-full.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 0 additions & 58 deletions .evergreen/config/generated/test/local.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions .evergreen/config/templates/test-variant/libmongoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
- variant: "build-debian12"
name: "build-php-%phpVersion%-libmongoc-lowest-supported"
tasks:
- ".standalone .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".standalone .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.2 !.4.4 !.5.0 !.6.0"
- "test-atlas-connectivity"
- ".ocsp !.4.4 !.5.0 !.6.0"
display_tasks:
Expand Down Expand Up @@ -41,10 +41,10 @@
- variant: "build-debian12"
name: "build-php-%phpVersion%-libmongoc-next-stable"
tasks:
- ".standalone .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".standalone .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.2 !.4.4 !.5.0 !.6.0"
- "test-atlas-connectivity"
- ".ocsp !.4.4 !.5.0 !.6.0"
display_tasks:
Expand Down Expand Up @@ -72,10 +72,10 @@
- variant: "build-debian12"
name: "build-php-%phpVersion%-libmongoc-latest"
tasks:
- ".standalone .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".standalone .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.2 !.4.4 !.5.0 !.6.0"
- "test-atlas-connectivity"
- ".ocsp !.4.4 !.5.0 !.6.0"
display_tasks:
Expand Down
16 changes: 8 additions & 8 deletions .evergreen/config/templates/test-variant/php-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
- variant: "build-debian12"
name: "build-php-%phpVersion%"
tasks:
- ".standalone .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
- ".standalone .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".replicaset .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".sharded .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".loadbalanced .local !.4.2 !.4.4 !.5.0 !.6.0"
- ".ocsp !.4.4 !.5.0 !.6.0"
- "test-atlas-connectivity"
display_tasks:
Expand Down Expand Up @@ -43,10 +43,10 @@
name: "build-php-%phpVersion%"
tasks:
# Remember to add new major versions here as they are released
- ".standalone .local !.4.0 !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".replicaset .local !.4.0 !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".sharded .local !.4.0 !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".loadbalanced .local !.4.0 !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".standalone .local !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".replicaset .local !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".sharded .local !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".loadbalanced .local !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"
- ".ocsp !.4.4 !.7.0 !.8.0 !.rapid !.latest"
display_tasks:
- name: "test-ocsp-6.0"
Expand Down
20 changes: 0 additions & 20 deletions .evergreen/config/test-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,3 @@ tasks:
- func: "run tests"
vars:
TESTS: "tests/atlas.phpt"

# Test different storage engines
- name: "test-mongodb-4.0-standalone-inmemory"
tags: ["standalone", "local", "4.0", "storage-engines"]
commands:
- func: "bootstrap mongo-orchestration"
vars:
TOPOLOGY: "server"
MONGODB_VERSION: "4.0"
STORAGE_ENGINE: "inmemory"
- func: "run tests"
- name: "test-mongodb-4.0-standalone-mmapv1"
tags: ["standalone", "local", "4.0", "storage-engines"]
commands:
- func: "bootstrap mongo-orchestration"
vars:
TOPOLOGY: "server"
MONGODB_VERSION: "4.0"
STORAGE_ENGINE: "mmapv1"
- func: "run tests"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ MongoDB\Driver\Monitoring\CommandFailedEvent includes serverConnectionId for 4.2
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_live(); ?>
<?php skip_if_server_version('<', '4.2'); ?>
--FILE--
<?php
require_once __DIR__ . "/../utils/basic.inc";
Expand Down
48 changes: 0 additions & 48 deletions tests/apm/commandFailedEvent-getServerConnectionId-002.phpt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ MongoDB\Driver\Monitoring\CommandStartedEvent includes serverConnectionId for 4.
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_live(); ?>
<?php skip_if_server_version('<', '4.2'); ?>
--FILE--
<?php
require_once __DIR__ . "/../utils/basic.inc";
Expand Down
Loading