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 c2977a5100
commit 29fb52b5d2
1 changed files with 2 additions and 2 deletions

View File

@ -357,8 +357,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) {