HBASE-9257: TestAsyncProcess#testFailAndSuccess fails sometime due to a race condition
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1515075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
40870be471
commit
c4ad6a6b1e
@ -498,8 +498,8 @@ class AsyncProcess<CResult> {
|
|||||||
if (callback != null) {
|
if (callback != null) {
|
||||||
callback.failure(originalIndex, region, row, throwable);
|
callback.failure(originalIndex, region, row, throwable);
|
||||||
}
|
}
|
||||||
this.hasError.set(true);
|
|
||||||
errors.add(throwable, row, location);
|
errors.add(throwable, row, location);
|
||||||
|
this.hasError.set(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return canRetry;
|
return canRetry;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user