Skip to content

Commit

Permalink
Fix testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow-Devil committed Dec 3, 2024
1 parent e0808c1 commit d815110
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void testStrandDumpOfBalPackage() throws BallerinaTestException {
Map<String, String> 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);
}
Expand All @@ -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");
Expand Down

0 comments on commit d815110

Please sign in to comment.