forked from opensearch-project/data-prepper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintenance: refactoring existing e2e tests on trace data ingestion (o…
…pensearch-project#512) * REF: refactoring existing trace e2e tests Signed-off-by: qchea <[email protected]> * MAINT: github workflow Signed-off-by: qchea <[email protected]> * ADD: README Signed-off-by: qchea <[email protected]> * FIX: spotless Signed-off-by: qchea <[email protected]> * STY: spotless for markdown Signed-off-by: qchea <[email protected]> * MAINT: address PR comments Signed-off-by: qchea <[email protected]> * MAINT: directory name Signed-off-by: qchea <[email protected]> * MAINT: build directory reference Signed-off-by: qchea <[email protected]>
- Loading branch information
1 parent
3c7ceec
commit c4e2d71
Showing
16 changed files
with
123 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Data Prepper End-to-end Tests | ||
|
||
This module includes all e2e tests for data-prepper. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
subprojects { | ||
buildscript { | ||
repositories { | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
} | ||
dependencies { | ||
classpath 'com.bmuschko:gradle-docker-plugin:7.0.0' | ||
} | ||
} | ||
|
||
sourceSets { | ||
integrationTest { | ||
java { | ||
compileClasspath += main.output + test.output | ||
runtimeClasspath += main.output + test.output | ||
srcDir file('src/integrationTest/java') | ||
} | ||
resources.srcDir file('src/integrationTest/resources') | ||
} | ||
} | ||
|
||
configurations { | ||
integrationTestImplementation.extendsFrom testImplementation | ||
integrationTestRuntime.extendsFrom testRuntime | ||
} | ||
|
||
def DATA_PREPPER_CORE_JAR = project(':data-prepper-core').jar | ||
|
||
task copyDataPrepperJar(type: Copy) { | ||
dependsOn DATA_PREPPER_CORE_JAR | ||
from("${DATA_PREPPER_CORE_JAR.archivePath}") | ||
into "${project.buildDir}/bin" | ||
} | ||
|
||
ext { | ||
dataPrepperJarFilepath = "${project.buildDir.name}/bin/${DATA_PREPPER_CORE_JAR.archiveName}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Trace Data Ingestion End-to-end Tests | ||
|
||
This module includes e2e tests for trace data ingestion supported by data-prepper. | ||
|
||
## Raw Span Ingestion Pipeline End-to-end test | ||
|
||
Run from current directory | ||
``` | ||
./gradlew :rawSpanEndToEndTest | ||
``` | ||
or from project root directory | ||
``` | ||
./gradlew :e2e-test:trace:rawSpanEndToEndTest | ||
``` | ||
|
||
## Raw Span Ingestion Pipelines Compatibility End-to-end test | ||
|
||
Run from current directory | ||
``` | ||
./gradlew :rawSpanCompatibilityEndToEndTest | ||
``` | ||
or from project root directory | ||
``` | ||
./gradlew :e2e-test:trace:rawSpanCompatibilityEndToEndTest | ||
``` | ||
|
||
## Service Map Ingestion Pipelines End-to-end test | ||
|
||
Run from current directory | ||
``` | ||
./gradlew :serviceMapEndToEndTest | ||
``` | ||
or from project root directory | ||
``` | ||
./gradlew :e2e-test:trace:serviceMapEndToEndTest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...prepper/integration/EndToEndTestSpan.java → ...r/integration/trace/EndToEndTestSpan.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters