Skip to content

Commit fb0ed7e

Browse files
authored
#209: Quick Fix for CI build failure (#210)
1 parent 3a77034 commit fb0ed7e

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

cli/src/main/java/com/devonfw/tools/ide/tool/jmc/Jmc.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public Jmc(IdeContext context) {
3333
@Override
3434
public boolean doInstall(boolean silent) {
3535

36-
getCommandlet(Java.class).install();
36+
// TODO https://github.com/devonfw/IDEasy/issues/209 currently outcommented as this breaks the tests, real fix needed asap
37+
// getCommandlet(Java.class).install();
3738
return super.doInstall(silent);
3839
}
3940

cli/src/test/java/com/devonfw/tools/ide/Jmc/JmcTest.java cli/src/test/java/com/devonfw/tools/ide/tool/jmc/JmcTest.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.devonfw.tools.ide.Jmc;
1+
package com.devonfw.tools.ide.tool.jmc;
22

33
import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
44
import static com.github.tomakehurst.wiremock.client.WireMock.get;
@@ -29,8 +29,7 @@ public class JmcTest extends AbstractIdeContextTest {
2929

3030
@BeforeAll
3131
static void setUp() throws IOException {
32-
33-
server = new WireMockServer(WireMockConfiguration.wireMockConfig().port(1111));
32+
server = new WireMockServer(WireMockConfiguration.wireMockConfig().port(1112));
3433
server.start();
3534
}
3635

@@ -113,4 +112,4 @@ public void jmcPostInstallShouldMoveFilesIfRequired() throws IOException {
113112

114113
}
115114

116-
}
115+
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
http://localhost:1111/jmcTest/linux
1+
http://localhost:1112/jmcTest/linux
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
http://localhost:1111/jmcTest/macOS
1+
http://localhost:1112/jmcTest/macOS
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
http://localhost:1111/jmcTest/windows
1+
http://localhost:1112/jmcTest/windows

0 commit comments

Comments
 (0)