Fix concurrency issue in QueryCacheTest
This commit is contained in:
parent
d1445efd82
commit
52684bba26
|
@ -744,11 +744,9 @@ public class QueryCacheTest extends BaseNonConfigCoreFunctionalTestCase {
|
|||
try {
|
||||
if (waitLatch != null) {
|
||||
waitLatch.countDown();
|
||||
waitLatch = null;
|
||||
}
|
||||
if (blockLatch != null) {
|
||||
blockLatch.await();
|
||||
blockLatch = null;
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
|
|
Loading…
Reference in New Issue