HBASE-23812 [Flakey Test] TestReplicator#testReplicatorWithErrors: AssertionError: We did not replicate enough rows expected:<10> but was:<7>

This commit is contained in:
stack 2020-02-07 14:27:45 -08:00
parent 29a36568b1
commit a6774ca7f7
1 changed files with 2 additions and 2 deletions

View File

@ -350,8 +350,8 @@ public class HBaseInterClusterReplicationEndpoint extends HBaseReplicationEndpoi
} catch (InterruptedException ie) {
iox = new IOException(ie);
} catch (ExecutionException ee) {
// cause must be an IOException
iox = (IOException) ee.getCause();
iox = ee.getCause() instanceof IOException?
(IOException)ee.getCause(): new IOException(ee.getCause());
}
}
if (iox != null) {