mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[TEST] fix assertion that index was fully deleted
This commit is contained in:
parent
0a8afa2e72
commit
e3e8f10103
@ -207,7 +207,7 @@ public class IndicesServiceTests extends ESSingleNodeTestCase {
|
||||
// shard lock released... we can now delete
|
||||
indicesService.processPendingDeletes(test.index(), test.getIndexSettings(), new TimeValue(0, TimeUnit.MILLISECONDS));
|
||||
assertEquals(indicesService.numPendingDeletes(test.index()), 0);
|
||||
assertFalse(indicesService.hasUncompletedPendingDeletes());
|
||||
assertTrue(indicesService.hasUncompletedPendingDeletes()); // "bogus" index has not been removed
|
||||
}
|
||||
assertAcked(client().admin().indices().prepareOpen("test"));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user