Skip to content

Commit c5f7fe4

Browse files
committed
PHPLIB-1698 Remove tests for Atlas Data Lake
ADL will be shut down on September 30, 2025.
1 parent 21afd09 commit c5f7fe4

File tree

11 files changed

+0
-213
lines changed

11 files changed

+0
-213
lines changed

.evergreen/config/functions.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -207,19 +207,6 @@ functions:
207207
TESTS=${TESTS} \
208208
bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
209209
210-
"run atlas data lake test":
211-
- command: shell.exec
212-
type: test
213-
params:
214-
working_dir: "src"
215-
script: |
216-
${PREPARE_SHELL}
217-
export PATH="${PHP_PATH}/bin:$PATH"
218-
219-
MONGODB_URI="mongodb://mhuser:[email protected]:27017" \
220-
TESTS="atlas-data-lake" \
221-
bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
222-
223210
"cleanup":
224211
- command: shell.exec
225212
params:

.evergreen/config/generated/test-variant/modern-php-full.yml

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/test-variant/phpc.yml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/templates/test-variant/modern-php-full.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
- ".replicaset .local !.csfle !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
1717
- ".sharded .local !.csfle !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
1818
- ".loadbalanced .local !.csfle !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
19-
- "test-atlas-data-lake"
2019

2120
# Test MongoDB 5.0 and 6.0
2221
- name: test-debian11-php-%phpVersion%-local

.evergreen/config/templates/test-variant/phpc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
- ".replicaset .local !.csfle !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
1616
- ".sharded .local !.csfle !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
1717
- ".loadbalanced .local !.csfle !.4.0 !.4.2 !.4.4 !.5.0 !.6.0"
18-
- "test-atlas-data-lake"

.evergreen/config/test-tasks.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ tasks:
77
vars:
88
TESTS: "atlas"
99

10-
- name: "test-atlas-data-lake"
11-
commands:
12-
- command: ec2.assume_role
13-
params:
14-
role_arn: ${aws_test_secrets_role}
15-
- func: "bootstrap mongohoused"
16-
- func: "run atlas data lake test"
17-
1810
- name: "run-benchmark"
1911
exec_timeout_secs: 3600
2012
commands:

.evergreen/config/test-variants.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,3 @@ buildvariants:
1313
name: "build-php-8.2"
1414
tasks:
1515
- "run-benchmark"
16-
17-
# Run Atlas Data Lake Tests on Ubuntu
18-
- name: test-ubuntu2204-php82-local
19-
tags: ["test", "ubuntu", "x64"]
20-
display_name: "Test: Ubuntu 22.04 x64, PHP 8.2"
21-
run_on: ubuntu2204-small
22-
expansions:
23-
FETCH_BUILD_VARIANT: "build-ubuntu2204"
24-
FETCH_BUILD_TASK: "build-php-8.2"
25-
PHP_VERSION: "8.2"
26-
depends_on:
27-
- variant: "build-ubuntu2204"
28-
name: "build-php-8.2"
29-
tasks:
30-
- "test-atlas-data-lake"

.evergreen/run-tests.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ case "$TESTS" in
8686
php vendor/bin/phpunit $PHPUNIT_OPTS --group atlas
8787
;;
8888

89-
atlas-data-lake)
90-
php vendor/bin/phpunit $PHPUNIT_OPTS --group atlas-data-lake
91-
;;
92-
9389
csfle)
9490
php vendor/bin/phpunit $PHPUNIT_OPTS --group csfle
9591
;;

tests/FunctionalTestCase.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -519,16 +519,6 @@ protected function skipIfTransactionsAreNotSupported(): void
519519
}
520520
}
521521

522-
protected function isAtlasDataLake(): bool
523-
{
524-
$buildInfo = $this->getPrimaryServer()->executeCommand(
525-
$this->getDatabaseName(),
526-
new Command(['buildInfo' => 1]),
527-
)->toArray()[0];
528-
529-
return ! empty($buildInfo->dataLake);
530-
}
531-
532522
protected function isEnterprise(): bool
533523
{
534524
$buildInfo = $this->getPrimaryServer()->executeCommand(

tests/SpecTests/AtlasDataLakeSpecTest.php

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)