[Tests] Fix IndexShardTests.testAcquirePrimaryAllOperationsPermits()
This test fails on CI because of an inappropriate assertion, which is I think a leftover and has no real value.
This commit is contained in:
parent
e44390ac20
commit
9bdbba23f8
|
@ -667,7 +667,6 @@ public class IndexShardTests extends IndexShardTestCase {
|
||||||
} else {
|
} else {
|
||||||
indexShard.acquireAllPrimaryOperationsPermits(future, TimeValue.timeValueHours(1L));
|
indexShard.acquireAllPrimaryOperationsPermits(future, TimeValue.timeValueHours(1L));
|
||||||
}
|
}
|
||||||
assertEquals(0, indexShard.getActiveOperationsCount());
|
|
||||||
});
|
});
|
||||||
threads[threadId].start();
|
threads[threadId].start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue