[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:
Tanguy Leroux 2018-11-26 13:43:46 +01:00
parent e44390ac20
commit 9bdbba23f8
1 changed files with 0 additions and 1 deletions

View File

@ -667,7 +667,6 @@ public class IndexShardTests extends IndexShardTestCase {
} else {
indexShard.acquireAllPrimaryOperationsPermits(future, TimeValue.timeValueHours(1L));
}
assertEquals(0, indexShard.getActiveOperationsCount());
});
threads[threadId].start();
}