Skip to content

Commit

Permalink
attempt to fix suspected test error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrit Poelen committed Dec 24, 2024
1 parent bed490f commit b31eaac
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ public void interactionsWithHeaderInProvModeTwice() throws URISyntaxException, I
CmdInteractions cmd1 = new CmdInteractions();

String dataDirStatic1 = CmdTestUtil.cacheDirTest();
File dataDir1 = tmpFolder.newFolder("data");
File dataDir1 = tmpFolder.newFolder();
FileUtils.copyDirectory(new File(dataDirStatic1), dataDir1);
cmd1.setDataDir(dataDir1.getAbsolutePath());

String provDirStatic1 = CmdTestUtil.cacheDirTest();
File provDir1 = tmpFolder.newFolder("prov");
File provDir1 = tmpFolder.newFolder();
FileUtils.copyDirectory(new File(provDirStatic1), provDir1);

cmd1.setProvDir(provDir1.getAbsolutePath());
Expand Down Expand Up @@ -170,12 +170,12 @@ private void assertResultInProvMode() throws URISyntaxException, IOException {
CmdInteractions cmd = new CmdInteractions();

String dataDirStatic = CmdTestUtil.cacheDirTest();
File dataDir = tmpFolder.newFolder("data");
File dataDir = tmpFolder.newFolder();
FileUtils.copyDirectory(new File(dataDirStatic), dataDir);
cmd.setDataDir(dataDir.getAbsolutePath());

String provDirStatic = CmdTestUtil.cacheDirTest();
File provDir = tmpFolder.newFolder("prov");
File provDir = tmpFolder.newFolder();
FileUtils.copyDirectory(new File(provDirStatic), provDir);

cmd.setProvDir(provDir.getAbsolutePath());
Expand Down

0 comments on commit b31eaac

Please sign in to comment.