-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(instrumentation): convert Spring boot test apps to simple Java apps
We do not actually need to start a whole framework with an HTTP server to check one environment variable and exit. Also: - disable all auto-instrumentation by the Java agent for JVM instrumentation image tests - remove Node.js 18 Bullseye base image for Node.js tests All of this should help to speed up the instrumentation image tests.
- Loading branch information
Showing
35 changed files
with
48 additions
and
1,129 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
*.class |
10 changes: 0 additions & 10 deletions
10
images/instrumentation/test/jvm/test-cases/existing-unmodified/.gitignore
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...rumentation/test/jvm/test-cases/existing-unmodified/.mvn/wrapper/maven-wrapper.properties
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
images/instrumentation/test/jvm/test-cases/existing-unmodified/MANIFEST.MF
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,2 @@ | ||
Manifest-Version: 1.0 | ||
Main-Class: Main |
9 changes: 9 additions & 0 deletions
9
images/instrumentation/test/jvm/test-cases/existing-unmodified/Main.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
public class Main { | ||
|
||
public static void main(String[] args) { | ||
String value = System.getenv("AN_ENVIRONMENT_VARIABLE"); | ||
if (!"value".equals(value)) { | ||
throw new RuntimeException(String.format("Unexpected value for the 'AN_ENVIRONMENT_VARIABLE' env var: %s", value)); | ||
} | ||
} | ||
} |
259 changes: 0 additions & 259 deletions
259
images/instrumentation/test/jvm/test-cases/existing-unmodified/mvnw
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
images/instrumentation/test/jvm/test-cases/existing-unmodified/pom.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.