kevinrr888 commented on code in PR #6013:
URL: https://github.com/apache/accumulo/pull/6013#discussion_r2607718666
##########
test/src/main/java/org/apache/accumulo/test/functional/CloneTestIT_SimpleSuite.java:
##########
@@ -367,8 +367,9 @@ public void testCloneSystemTables() {
for (int i = 0; i < sysTables.length; i++) {
var sysTable = sysTables[i];
var cloneTableName = tableNames[i];
- assertThrows(Exception.class, () ->
client.tableOperations().clone(sysTable.tableName(),
- cloneTableName, CloneConfiguration.empty()), () -> "Table:" +
sysTable.tableName());
+ assertThrows(AccumuloException.class, () -> client.tableOperations()
+ .clone(sysTable.tableName(), cloneTableName,
CloneConfiguration.empty()),
+ () -> "Table:" + sysTable.tableName());
Review Comment:
Was previously `Exception` because different exceptions could be thrown for
diff system tables. #5711 fixed this, so updated the test here
--
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]