Commit 6985ebc
fix(profiling): Skip Docker-dependent validation tests gracefully when Docker unavailable
Use @testcontainers(disabledWithoutDocker = true) to automatically skip OtlpCollectorValidationTest when Docker is not available instead of failing with IllegalStateException.
This allows the test suite to pass cleanly in environments without Docker while still running all other tests. When Docker is available, these tests will run normally.
Result: 82 tests pass, Docker tests gracefully skipped when unavailable.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 4878c9b commit 6985ebc
File tree
1 file changed
+3
-1
lines changed- dd-java-agent/agent-profiling/profiling-otel/src/test/java/com/datadog/profiling/otel/validation
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
0 commit comments