Skip to content

Convert legacy data lake tests to unified #1332

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
Mar 19, 2024
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
2 changes: 1 addition & 1 deletion .evergreen/run-atlas-data-lake-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ DATA_LAKE_URI="mongodb://mhuser:pencil@localhost"
echo "Running Atlas Data Lake tests with Java ${JAVA_VERSION}"
./gradlew -version
./gradlew -PjavaVersion=${JAVA_VERSION} -Dorg.mongodb.test.data.lake=true -Dorg.mongodb.test.uri=${DATA_LAKE_URI} \
--info driver-sync:test --tests AtlasDataLake*Test
--info driver-sync:test --tests *AtlasDataLake*Test
66 changes: 0 additions & 66 deletions driver-core/src/test/resources/atlas-data-lake/README.rst

This file was deleted.

53 changes: 0 additions & 53 deletions driver-core/src/test/resources/atlas-data-lake/aggregate.json

This file was deleted.

This file was deleted.

58 changes: 0 additions & 58 deletions driver-core/src/test/resources/atlas-data-lake/getMore.json

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions driver-core/src/test/resources/atlas-data-lake/listDatabases.json

This file was deleted.

31 changes: 0 additions & 31 deletions driver-core/src/test/resources/atlas-data-lake/runCommand.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"description": "aggregate",
"schemaVersion": "1.0",
"createEntities": [
{
"client": {
"id": "client0",
"observeEvents": [
"commandStartedEvent"
]
}
},
{
"database": {
"id": "database0",
"client": "client0",
"databaseName": "test"
}
},
{
"collection": {
"id": "collection0",
"database": "database0",
"collectionName": "driverdata"
}
}
],
"tests": [
{
"description": "Aggregate with pipeline (project, sort, limit)",
"operations": [
{
"object": "collection0",
"name": "aggregate",
"arguments": {
"pipeline": [
{
"$project": {
"_id": 0
}
},
{
"$sort": {
"a": 1
}
},
{
"$limit": 2
}
]
},
"expectResult": [
{
"a": 1,
"b": 2,
"c": 3
},
{
"a": 2,
"b": 3,
"c": 4
}
]
}
],
"expectEvents": [
{
"client": "client0",
"events": [
{
"commandStartedEvent": {
"command": {
"aggregate": "driverdata"
},
"commandName": "aggregate",
"databaseName": "test"
}
}
]
}
]
}
]
}
Loading