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 9b5ee56
Showing 1 changed file with 2 additions and 2 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

0 comments on commit 9b5ee56

Please sign in to comment.