Skip to content

Commit

Permalink
fix wrong port number
Browse files Browse the repository at this point in the history
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
  • Loading branch information
SanjulaGanepola committed Aug 14, 2024
1 parent 1c5bde5 commit 981ce8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/test/java/io/github/mapapire/SimpleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
import static org.junit.jupiter.api.Assertions.assertTrue;

class SimpleTest {
private static final String CONFIG_FILE = "config.properties";
private static DaemonServer creds;

@BeforeAll
public static void setup() throws Exception {
Properties properties = new Properties();
try (InputStream input = SimpleTest.class.getClassLoader().getResourceAsStream("config.properties")) {
try (InputStream input = SimpleTest.class.getClassLoader().getResourceAsStream(CONFIG_FILE)) {
if (input == null) {
throw new IOException("Unable to find config.properties");
throw new IOException("Unable to find " + CONFIG_FILE);
}
properties.load(input);
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/config.properties.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IBMI_HOST=
IBMI_USER=
IBMI_PASSWORD=
IBMI_PORT=8085
IBMI_PORT=

0 comments on commit 981ce8f

Please sign in to comment.