-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate test flakes in recently-added heap tests (#65)
The update operation includes iteration over a map, so the order of items picked from the heap is not entirely deterministic. This fixes the tests to be lax on the precise order of elements when they their load is equal/tied. The thing we care about is that items aren't picked when their load is higher than others.
- Loading branch information
Showing
1 changed file
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters