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