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:
jeffreyz 2013-08-18 06:14:01 +00:00
parent 40870be471
commit c4ad6a6b1e
1 changed files with 1 additions and 1 deletions

View File

@ -498,8 +498,8 @@ class AsyncProcess<CResult> {
if (callback != null) {
callback.failure(originalIndex, region, row, throwable);
}
this.hasError.set(true);
errors.add(throwable, row, location);
this.hasError.set(true);
}
return canRetry;