Skip to content

Commit

Permalink
[YGQfavsP] Update to new port to avoid issues with clashing 8000
Browse files Browse the repository at this point in the history
  • Loading branch information
gem-neo4j committed Aug 30, 2023
1 parent 75efe43 commit 9fcbb91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/test/java/apoc/load/LoadJsonTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static void stopServer() {
apocConfig().setProperty("apoc.json.simpleJson.url", ClassLoader.getSystemResource("map.json").toString());
TestUtil.registerProcedure(db, LoadJson.class);

server = HttpServer.create(new InetSocketAddress(8000), 0);
server = HttpServer.create(new InetSocketAddress(5353), 0);
HttpContext staticContext = server.createContext("/");
staticContext.setHandler(new SimpleHttpHandler());
server.start();
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/java/apoc/load/XmlTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void setUp() throws IOException {
apocConfig().setProperty(APOC_IMPORT_FILE_USE_NEO4J_CONFIG, false);
TestUtil.registerProcedure(db, Xml.class);

server = HttpServer.create(new InetSocketAddress(8000), 0);
server = HttpServer.create(new InetSocketAddress(6363), 0);
HttpContext staticContext = server.createContext("/");
staticContext.setHandler(new SimpleHttpHandler());
server.start();
Expand Down

0 comments on commit 9fcbb91

Please sign in to comment.