Skip to content

Commit

Permalink
devonfw#647: fixed tests
Browse files Browse the repository at this point in the history
added workaround for new background process check (creating a new file and checking its content)
  • Loading branch information
jan-vcapgemini committed Sep 27, 2024
1 parent 876e251 commit 95b7f8a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ public void testIntellijRun(String os, WireMockRuntimeInfo wmRuntimeInfo) throws
// assert
SystemInfo currentSystemInfo = this.context.getSystemInfo();
Path workspacePath = this.context.getWorkspacePath();

assertThat(this.context).logAtInfo().hasMessage("intellij " + currentSystemInfo.getOs() + " " + workspacePath);
assertThat(commandlet.getToolBinPath().resolve("intellijtest")).hasContent(
"intellij " + currentSystemInfo.getOs() + " " + workspacePath);
checkInstallation(this.context);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
echo "intellij linux $*"
cd "$(dirname $0)"
echo "intellij linux $*" > intellijtest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
echo "intellij mac $*"
cd "$(dirname "$0")"
echo "intellij mac $*" > intellijtest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
echo "intellij windows $*"
cd "$(dirname $0)"
echo "intellij windows $*" > intellijtest

0 comments on commit 95b7f8a

Please sign in to comment.