Skip to content

Commit

Permalink
update: default url in test
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxiaocs7 committed Oct 6, 2023
1 parent 2e06d9a commit 35b4ccc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public class HGEnvUtils {
public static final String DEFAULT_HOST = "127.0.0.1";
public static final String DEFAULT_PORT = "8080";
public static final String DEFAULT_GRAPH = "hugegraph";
public static final String DEFAULT_URL = "http://" + DEFAULT_HOST + ":" + DEFAULT_PORT;

private static HugeClient hugeClient;

public static void createEnv() {

hugeClient = HugeClient.builder(
"http://" + DEFAULT_HOST + ":" + DEFAULT_PORT, DEFAULT_GRAPH).build();
hugeClient = HugeClient.builder(DEFAULT_URL, DEFAULT_GRAPH).build();

hugeClient.graphs().clearGraph(DEFAULT_GRAPH, "I'm sure to delete all data");

Expand Down

0 comments on commit 35b4ccc

Please sign in to comment.