ctubbsii commented on a change in pull request #2021:
URL: https://github.com/apache/accumulo/pull/2021#discussion_r613608244
##########
File path:
test/src/main/java/org/apache/accumulo/test/functional/ConcurrentDeleteTableIT.java
##########
@@ -183,18 +179,15 @@ public void testConcurrentFateOpsWithDelete() throws
Exception {
List<Future<?>> futures = new ArrayList<>();
- futures.add(es.submit(new Runnable() {
- @Override
- public void run() {
- try {
- cdl.countDown();
- cdl.await();
- c.tableOperations().delete(table);
- } catch (TableNotFoundException | TableOfflineException e) {
- // expected
- } catch (InterruptedException | AccumuloException |
AccumuloSecurityException e) {
- throw new RuntimeException(e);
- }
+ futures.add(es.submit(() -> {
+ try {
+ cdl.countDown();
+ cdl.await();
+ c.tableOperations().delete(table);
+ } catch (TableNotFoundException | TableOfflineException e1) {
+ // expected
+ } catch (InterruptedException | AccumuloException |
AccumuloSecurityException e2) {
+ throw new RuntimeException(e2);
Review comment:
```suggestion
} catch (TableNotFoundException | TableOfflineException e) {
// expected
} catch (InterruptedException | AccumuloException |
AccumuloSecurityException e) {
throw new RuntimeException(e);
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]