Skip to content

Commit fc43e09

Browse files
test(NODE-7076): remove data lake tests (mongodb#4673)
Co-authored-by: Bailey Pearson <bailey.pearson@mongodb.com>
1 parent 81a7951 commit fc43e09

24 files changed

+1
-928
lines changed

.evergreen/config.in.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -388,20 +388,6 @@ functions:
388388
args:
389389
- .evergreen/run-ldap-tests.sh
390390

391-
"run data lake tests":
392-
- command: subprocess.exec
393-
type: test
394-
params:
395-
working_dir: src
396-
binary: bash
397-
env:
398-
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
399-
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
400-
MONGODB_URI: "mongodb://mhuser:pencil@localhost"
401-
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
402-
args:
403-
- .evergreen/run-data-lake-tests.sh
404-
405391
"run tls tests":
406392
- command: shell.exec
407393
type: test
@@ -715,13 +701,6 @@ functions:
715701
- .evergreen/docker/alpine.sh
716702

717703
tasks:
718-
- name: "test-atlas-data-lake"
719-
tags: ["datalake", "mongohouse"]
720-
commands:
721-
- func: "install dependencies"
722-
- func: "bootstrap mongohoused"
723-
- func: "run data lake tests"
724-
725704
- name: "test-gcpkms-task"
726705
commands:
727706
- command: expansions.update

.evergreen/config.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -345,19 +345,6 @@ functions:
345345
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
346346
args:
347347
- .evergreen/run-ldap-tests.sh
348-
run data lake tests:
349-
- command: subprocess.exec
350-
type: test
351-
params:
352-
working_dir: src
353-
binary: bash
354-
env:
355-
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
356-
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
357-
MONGODB_URI: mongodb://mhuser:pencil@localhost
358-
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
359-
args:
360-
- .evergreen/run-data-lake-tests.sh
361348
run tls tests:
362349
- command: shell.exec
363350
type: test
@@ -650,14 +637,6 @@ functions:
650637
args:
651638
- .evergreen/docker/alpine.sh
652639
tasks:
653-
- name: test-atlas-data-lake
654-
tags:
655-
- datalake
656-
- mongohouse
657-
commands:
658-
- func: install dependencies
659-
- func: bootstrap mongohoused
660-
- func: run data lake tests
661640
- name: test-gcpkms-task
662641
commands:
663642
- command: expansions.update
@@ -3456,13 +3435,6 @@ buildvariants:
34563435
- aws-latest-auth-test-run-aws-ECS-auth-test
34573436
- aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset
34583437
- aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set
3459-
- name: ubuntu2204-test-atlas-data-lake
3460-
display_name: Atlas Data Lake Tests
3461-
run_on: ubuntu2204-large
3462-
expansions:
3463-
NODE_LTS_VERSION: 22
3464-
tasks:
3465-
- test-atlas-data-lake
34663438
- name: performance-tests
34673439
display_name: Performance Test
34683440
run_on: rhel90-dbx-perf-large

.evergreen/generate_evergreen_tasks.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -620,16 +620,6 @@ BUILD_VARIANTS.push({
620620
tasks: AWS_AUTH_TASKS
621621
});
622622

623-
BUILD_VARIANTS.push({
624-
name: 'ubuntu2204-test-atlas-data-lake',
625-
display_name: 'Atlas Data Lake Tests',
626-
run_on: UBUNTU_22_OS,
627-
expansions: {
628-
NODE_LTS_VERSION: LATEST_LTS
629-
},
630-
tasks: ['test-atlas-data-lake']
631-
});
632-
633623
const customDependencyTests = [];
634624

635625
for (const serverVersion of ['5.0', 'rapid', 'latest']) {

.evergreen/run-data-lake-tests.sh

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@
145145
"check:atlas": "nyc mocha --config test/manual/mocharc.js test/manual/atlas_connectivity.test.ts",
146146
"check:resource-management": "nyc mocha --config test/manual/mocharc.js test/manual/resource_management.test.ts",
147147
"check:drivers-atlas-testing": "nyc mocha --config test/mocha_mongodb.js test/atlas/drivers_atlas_testing.test.ts",
148-
"check:adl": "nyc mocha --config test/mocha_mongodb.js test/manual/atlas-data-lake-testing",
149148
"check:aws": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_aws.test.ts",
150149
"check:oidc-auth": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/auth.spec.test.ts",
151150
"check:oidc-test": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc.prose.test.ts",

test/manual/atlas-data-lake-testing/atlas_data_lake_testing.prose.js

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

test/manual/atlas-data-lake-testing/atlas_data_lake_testing.spec.ts

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

test/readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Below is a summary of the types of test automation in this repo.
6363
| Unit | `/test/unit` | The unit tests test individual pieces of code, typically functions. These tests do **not** interact with a real database, so mocks are used instead. <br><br>The unit test directory mirrors the `/src` directory structure with test file names matching the source file names of the code they test. | `npm run check:unit` |
6464
| Integration | `/test/integration` | The integration tests test that a given feature or piece of a feature is working as expected. These tests do **not** use mocks; instead, they interact with a real database. <br><br> The integration test directory follows the `test/spec` directory structure representing the different functional areas of the driver. <br><br> **Note:** The `.gitkeep` files are intentionally left to ensure that this directory structure is preserved even as the actual test files are moved around. | `npm run check:test` |
6565
| Benchmark | `/test/benchmarks` | The benchmark tests report how long a designated set of tests take to run. They are used to measure performance. | `npm run check:bench` |
66-
| Specialized Environment | `/test/manual` | The specalized environment tests are functional tests that require specialized environment setups in Evergreen. <br><br>**Note**: "manual" in the directory path does not refer to tests that should be run manually. These tests are automated. These tests have a special Evergreen configuration and run in isolation from the other tests. | There is no single script for running all of the specialized environment tests. Instead, you can run the appropriate script based on the specialized environment you want to use: <br>- `npm run check:atlas` to test Atlas <br>- `npm run check:adl` to test Atlas Data Lake <br>- `npm run check:kerberos` to test Kerberos <br>- `npm run check:tls` to test TLS <br>- `npm run check:ldap` to test LDAP authorization |
66+
| Specialized Environment | `/test/manual` | The specalized environment tests are functional tests that require specialized environment setups in Evergreen. <br><br>**Note**: "manual" in the directory path does not refer to tests that should be run manually. These tests are automated. These tests have a special Evergreen configuration and run in isolation from the other tests. | There is no single script for running all of the specialized environment tests. Instead, you can run the appropriate script based on the specialized environment you want to use: <br>- `npm run check:atlas` to test Atlas <br>- `npm run check:kerberos` to test Kerberos <br>- `npm run check:tls` to test TLS <br>- `npm run check:ldap` to test LDAP authorization |
6767
| TypeScript Definition | `/test/types` | The TypeScript definition tests verify the type definitions are correct. | `npm run check:tsd` |
6868
| GitHub Actions | `/test/action` | Tests that run as GitHub Actions such as dependency checking. | Currently, only `npm run check:dependencies` but could be expanded to more in the future. |
6969
| Code Examples | `/test/integration/node-specific/examples` | Code examples that are also paired with tests that show they are working examples. | Currently, `npm run check:lambda` to test the AWS Lambda example with default auth and `npm run check:lambda:aws` to test the AWS Lambda example with AWS auth. |
@@ -676,7 +676,6 @@ needs to be tested.
676676
### TODO Special Env Sections
677677

678678
- TLS
679-
- Atlas Data Lake
680679
- LDAP
681680
- Snappy (maybe in general, how to test optional dependencies)
682681
- Atlas connectivity

test/spec/atlas-data-lake-testing/README.md

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

0 commit comments

Comments
 (0)