mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
Fix visibility issue in RetryTests
This commit is contained in:
parent
05c42c1989
commit
3f87b0809e
1 changed files with 3 additions and 3 deletions
|
@ -126,9 +126,9 @@ public class RetryTests extends ESTestCase {
|
||||||
|
|
||||||
private static class AssertingListener implements ActionListener<BulkResponse> {
|
private static class AssertingListener implements ActionListener<BulkResponse> {
|
||||||
private final CountDownLatch latch;
|
private final CountDownLatch latch;
|
||||||
private int countOnResponseCalled = 0;
|
private volatile int countOnResponseCalled = 0;
|
||||||
private Throwable lastFailure;
|
private volatile Throwable lastFailure;
|
||||||
private BulkResponse response;
|
private volatile BulkResponse response;
|
||||||
|
|
||||||
private AssertingListener() {
|
private AssertingListener() {
|
||||||
latch = new CountDownLatch(1);
|
latch = new CountDownLatch(1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue