Skip to content

Commit

Permalink
[Tests] Fix IndexShardTests.testAcquirePrimaryAllOperationsPermits()
Browse files Browse the repository at this point in the history
This test fails on CI because of an inappropriate assertion, which is
I think a leftover and has no real value.
  • Loading branch information
tlrx committed Nov 26, 2018
1 parent e44390a commit 9bdbba2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ public void onFailure(final Exception e) {
} else {
indexShard.acquireAllPrimaryOperationsPermits(future, TimeValue.timeValueHours(1L));
}
assertEquals(0, indexShard.getActiveOperationsCount());
});
threads[threadId].start();
}
Expand Down

0 comments on commit 9bdbba2

Please sign in to comment.