google-nomulus/common
Weimin Yu b9e8694792 Fix timestamp inversion bug (#1144)
* Fix timestamp inversion bug

Set the number of commitLog buckets to 1 in CommitLog replay tests to
expose all timestamp inversion problems due to replay. Fixed
PollAckFlowTest which is related to this problem.

Also fixed a few tests that failed to advance the fake clock when they
should, using the following approaches:

- If DatabaseHelper used but clock is not injected, do it. This
  allows us to remove some unnecessary manual clock advances.
- Manually advance the clock where convenient.
- Enable clock autoIncrement mode when calling production classes that
  performs multiple transactions.

We should consider making 1-bucket the default setting for tests. This
is left to another PR.
2021-05-11 14:51:10 -04:00
..
gradle/dependency-locks Update more dependencies to newer versions (#999) 2021-03-10 11:22:07 -05:00
src Fix timestamp inversion bug (#1144) 2021-05-11 14:51:10 -04:00
build.gradle Get rid of all remaining JUnit 4 usages except in prober & proxy (#731) 2020-07-30 20:29:00 -04:00
README.md Break circular dependency between core and util (#379) 2019-11-21 15:36:55 -05:00

Summary

This project holds some of the general-purpose utility classes that do not rely on the registry domain model.

This is an intermediate step in untangling the circular dependencies between :core and :util subprojects.