Skip to content

Commit

Permalink
Remove assertion that makes many test failing (elastic#67265)
Browse files Browse the repository at this point in the history
This commit removes an assertion that makes many tests to fail 
on CI until elastic#67160 is merged, which has been opened to fix the 
underlying issues around that assertion tripping (and brings 
back the assertion).

Relates elastic#67160
  • Loading branch information
tlrx committed Jan 11, 2021
1 parent 457b253 commit 4516108
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ private void runIfShardMarkedAsEvictedInCache(ShardEviction shardEviction, Runna
}
success = true;
} finally {
assert success : "shard eviction should be successful: " + shardEviction;
if (success == false) {
final boolean added = evictedShards.add(shardEviction);
assert added : shardEviction;
Expand Down

0 comments on commit 4516108

Please sign in to comment.