Test Failing: Computer Too Fast

A peculiar bug Today I fixed a very interesting bug. The code reads //Segment lineage entries are sorted in chronological order by lineageEntries . entrySet () . stream () . sorted ( Map . Entry . comparingByValue ( Comparator . comparingLong ( LineageEntry :: getTimestamp ) )); The test creates two LineageEntry , then prints them, and ensures they are sorted by time of creation — that is to say…