HBASE-23812 [Flakey Test] TestReplicator#testReplicatorWithErrors: AssertionError: We did not replicate enough rows expected:<10> but was:<7>
This commit is contained in:
parent
29a36568b1
commit
a6774ca7f7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue