Skip to content
Browse files
IGNITE-16285 Fixed converting resource locator to the configuration f…
…ile. Fixes #550
  • Loading branch information
sk0x50 committed Jan 21, 2022
1 parent 1728cd1 commit 87d5132b9eb657522aa8ce0bcf51973eb3403cc9
Showing 1 changed file with 4 additions and 2 deletions.
@@ -33,10 +33,12 @@
public class IgniteCliRunnerTest {
/** TODO: Replace this test by full integration test on the cli side IGNITE-15097. */
public void runnerArgsSmokeTest(@WorkDirectory Path workDir) {
public void runnerArgsSmokeTest(@WorkDirectory Path workDir) throws Exception {
Path configPath = Path.of(IgniteCliRunnerTest.class.getResource("/ignite-config.json").toURI());

new String[]{
"--config", IgniteCliRunnerTest.class.getResource("/ignite-config.json").getPath(),
"--config", configPath.toAbsolutePath().toString(),
"--work-dir", workDir.resolve("node1").toAbsolutePath().toString(),

0 comments on commit 87d5132

Please sign in to comment.