Skip to content
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
21 changes: 0 additions & 21 deletions .evergreen/config.in.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,20 +388,6 @@ functions:
args:
- .evergreen/run-ldap-tests.sh

"run data lake tests":
- command: subprocess.exec
type: test
params:
working_dir: src
binary: bash
env:
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
MONGODB_URI: "mongodb://mhuser:pencil@localhost"
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
args:
- .evergreen/run-data-lake-tests.sh

"run tls tests":
- command: shell.exec
type: test
Expand Down Expand Up @@ -715,13 +701,6 @@ functions:
- .evergreen/docker/alpine.sh

tasks:
- name: "test-atlas-data-lake"
tags: ["datalake", "mongohouse"]
commands:
- func: "install dependencies"
- func: "bootstrap mongohoused"
- func: "run data lake tests"

- name: "test-gcpkms-task"
commands:
- command: expansions.update
Expand Down
28 changes: 0 additions & 28 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,19 +345,6 @@ functions:
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
args:
- .evergreen/run-ldap-tests.sh
run data lake tests:
- command: subprocess.exec
type: test
params:
working_dir: src
binary: bash
env:
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
MONGODB_URI: mongodb://mhuser:pencil@localhost
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
args:
- .evergreen/run-data-lake-tests.sh
run tls tests:
- command: shell.exec
type: test
Expand Down Expand Up @@ -650,14 +637,6 @@ functions:
args:
- .evergreen/docker/alpine.sh
tasks:
- name: test-atlas-data-lake
tags:
- datalake
- mongohouse
commands:
- func: install dependencies
- func: bootstrap mongohoused
- func: run data lake tests
- name: test-gcpkms-task
commands:
- command: expansions.update
Expand Down Expand Up @@ -3456,13 +3435,6 @@ buildvariants:
- aws-latest-auth-test-run-aws-ECS-auth-test
- aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset
- aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set
- name: ubuntu2204-test-atlas-data-lake
display_name: Atlas Data Lake Tests
run_on: ubuntu2204-large
expansions:
NODE_LTS_VERSION: 22
tasks:
- test-atlas-data-lake
- name: performance-tests
display_name: Performance Test
run_on: rhel90-dbx-perf-large
Expand Down
10 changes: 0 additions & 10 deletions .evergreen/generate_evergreen_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,16 +620,6 @@ BUILD_VARIANTS.push({
tasks: AWS_AUTH_TASKS
});

BUILD_VARIANTS.push({
name: 'ubuntu2204-test-atlas-data-lake',
display_name: 'Atlas Data Lake Tests',
run_on: UBUNTU_22_OS,
expansions: {
NODE_LTS_VERSION: LATEST_LTS
},
tasks: ['test-atlas-data-lake']
});

const customDependencyTests = [];

for (const serverVersion of ['5.0', 'rapid', 'latest']) {
Expand Down
8 changes: 0 additions & 8 deletions .evergreen/run-data-lake-tests.sh

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
"check:atlas": "nyc mocha --config test/manual/mocharc.js test/manual/atlas_connectivity.test.ts",
"check:resource-management": "nyc mocha --config test/manual/mocharc.js test/manual/resource_management.test.ts",
"check:drivers-atlas-testing": "nyc mocha --config test/mocha_mongodb.js test/atlas/drivers_atlas_testing.test.ts",
"check:adl": "nyc mocha --config test/mocha_mongodb.js test/manual/atlas-data-lake-testing",
"check:aws": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_aws.test.ts",
"check:oidc-auth": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/auth.spec.test.ts",
"check:oidc-test": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc.prose.test.ts",
Expand Down

This file was deleted.

This file was deleted.

3 changes: 1 addition & 2 deletions test/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Below is a summary of the types of test automation in this repo.
| 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` |
| 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` |
| 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` |
| 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 |
| 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 |
| TypeScript Definition | `/test/types` | The TypeScript definition tests verify the type definitions are correct. | `npm run check:tsd` |
| 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. |
| 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. |
Expand Down Expand Up @@ -676,7 +676,6 @@ needs to be tested.
### TODO Special Env Sections

- TLS
- Atlas Data Lake
- LDAP
- Snappy (maybe in general, how to test optional dependencies)
- Atlas connectivity
Expand Down
70 changes: 0 additions & 70 deletions test/spec/atlas-data-lake-testing/README.md

This file was deleted.

Loading