Skip to content

Commit

Permalink
fix: core test
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxxoo committed Dec 23, 2022
1 parent d2a494c commit c15ce2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public void testCreateGraphsWithMultiDisksForRocksDB() {
g1.clearBackend();

final HugeGraph[] g2 = new HugeGraph[1];
Assert.assertThrows(ConnectionException.class, () -> {
Assert.assertThrows(RuntimeException.class, () -> {
g2[0] = openGraphWithBackend("g2", "rocksdb", "binary",
"rocksdb.data_disks",
"[g/range_int_index:rocksdb-index1]");
Expand All @@ -348,7 +348,7 @@ public void testCreateGraphsWithMultiDisksForRocksDB() {
});

final HugeGraph[] g3 = new HugeGraph[1];
Assert.assertThrows(ConnectionException.class, () -> {
Assert.assertThrows(RuntimeException.class, () -> {
g3[0] = openGraphWithBackend("g3", "rocksdb", "binary",
"rocksdb.data_disks",
"[g/secondary_index:/]");
Expand Down
4 changes: 2 additions & 2 deletions hugegraph-test/src/main/resources/hugegraph.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
gremlin.graph=org.apache.hugegraph.HugeFactory

backend=${backend}
serializer=${serializer}
backend=memory
serializer=text

store=hugegraph

Expand Down

0 comments on commit c15ce2e

Please sign in to comment.