@Test void traceIdsSortedByDescTimestamp_doesntCollideOnSameTimestamp() {
    Map<String, Long> input = new LinkedHashMap<>();
    input.put("a", 1L);
    input.put("b", 1L);
    input.put("c", 2L);

    Set<String> sortedTraceIds = CassandraUtil.traceIdsSortedByDescTimestamp().map(input);

    try {
      assertThat(sortedTraceIds).containsExactly("c", "b", "a");
    } catch (AssertionError e) {
      assertThat(sortedTraceIds).containsExactly("c", "a", "b");
    }
  }
Sanity checks our bucketing scheme for numeric overflow
zipkin-storage/cassandra/src/test/java/zipkin2/storage/cassandra/CassandraUtilTest.java