Skip to content

Commit 88dcfa3

Browse files
Attempt to specify full path
1 parent 9e8a13e commit 88dcfa3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dd-java-agent/instrumentation/java-concurrent/java-concurrent-21/src/previewTest/groovy/StructuredConcurrencyTest.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ class StructuredConcurrencyTest extends AgentTestRunner {
2424
String fullPath = reportDir.absolutePath.replace("dd-trace-java/dd-java-agent",
2525
"dd-trace-java/workspace/dd-java-agent")
2626

27+
reportDir = new File(fullPath)
2728
if (!reportDir.exists()) {
2829
println("Folder not found: " + fullPath)
29-
return
30+
reportDir.mkdirs()
3031
}
3132

3233
// Define the file path

dd-java-agent/instrumentation/lettuce-4/src/test/groovy/Lettuce4ClientTestBase.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ abstract class Lettuce4ClientTestBase extends VersionedNamingTestBase {
7676
String fullPath = reportDir.absolutePath.replace("dd-trace-java/dd-java-agent",
7777
"dd-trace-java/workspace/dd-java-agent")
7878

79+
reportDir = new File(fullPath)
7980
if (!reportDir.exists()) {
8081
println("Folder not found: " + fullPath)
81-
return
82+
reportDir.mkdirs()
8283
}
8384

8485
// Define the file path

0 commit comments

Comments
 (0)