javeme commented on code in PR #2055:
URL:
https://github.com/apache/incubator-hugegraph/pull/2055#discussion_r1057243732
##########
hugegraph-test/src/main/java/org/apache/hugegraph/core/MultiGraphsTest.java:
##########
@@ -323,17 +315,15 @@ public void
testCreateGraphsWithDifferentNameDifferentBackends() {
@Test
public void testCreateGraphsWithMultiDisksForRocksDB() {
- HugeGraph g1 = openGraphWithBackend(
- "g1", "rocksdb", "binary",
- "rocksdb.data_disks",
- "[g/secondary_index:rocksdb-index1," +
- " g/range_int_index:rocksdb-index1," +
- " g/range_long_index:rocksdb-index2]");
+ HugeGraph g1 = openGraphWithBackend("g1", "rocksdb", "binary",
"rocksdb.data_disks",
+
"[g/secondary_index:rocksdb-index1," +
+ "
g/range_int_index:rocksdb-index1," +
+ "
g/range_long_index:rocksdb-index2]");
g1.initBackend();
g1.clearBackend();
final HugeGraph[] g2 = new HugeGraph[1];
- Assert.assertThrows(ConnectionException.class, () -> {
+ Assert.assertThrows(RuntimeException.class, () -> {
Review Comment:
can we keep the ConnectionException and update the throw-exception location?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]