From d815110335f035fca954fd5589863da4980fbf3d Mon Sep 17 00:00:00 2001 From: Felix Schnabel Date: Tue, 3 Dec 2024 18:38:14 +0100 Subject: [PATCH] Fix testcases --- .../org/ballerinalang/test/troubleshoot/StrandDumpTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/jballerina-integration-test/src/test/java/org/ballerinalang/test/troubleshoot/StrandDumpTest.java b/tests/jballerina-integration-test/src/test/java/org/ballerinalang/test/troubleshoot/StrandDumpTest.java index 32aee412d35c..983fcd803117 100644 --- a/tests/jballerina-integration-test/src/test/java/org/ballerinalang/test/troubleshoot/StrandDumpTest.java +++ b/tests/jballerina-integration-test/src/test/java/org/ballerinalang/test/troubleshoot/StrandDumpTest.java @@ -68,7 +68,7 @@ public void testStrandDumpOfBalPackage() throws BallerinaTestException { Map envProperties = new HashMap<>(); bMainInstance.runMain("build", new String[]{packageName}, envProperties, null, null, sourceRoot); - Path jarPath = sourceRoot.resolve(packageName + "target/bin/" + packageName + ".jar"); + Path jarPath = sourceRoot.resolve(packageName + "/target/bin/" + packageName + ".jar"); runJarAndVerifyStrandDump(envProperties, jarPath, sourceRoot, expectedOutputFilePath, steadyStateOutputFilePath); } @@ -93,7 +93,7 @@ public void testStrandDumpDuringBalTest() throws BallerinaTestException { @Test public void testStrandDumpOfSingleBalFile() throws BallerinaTestException { - Path expectedOutputFilePath = testFileLocation.resolve("testOutputs/bbalProgram1StrandDumpRegEx.txt"); + Path expectedOutputFilePath = testFileLocation.resolve("testOutputs/balProgram1StrandDumpRegEx.txt"); Path steadyStateOutputFilePath = testFileLocation.resolve("testOutputs/balProgram1SteadyStateOutput.txt"); Path commandDir = balServer.getServerHome(); Path balFile = testFileLocation.resolve("singleBalFiles/balProgram1.bal");