google-nomulus/common/src
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
..
main/java/google/registry/util Upgrade error-prone to 3.3.4 (#848) 2020-10-23 11:17:57 -04:00
test Get rid of all remaining JUnit 4 usages except in prober & proxy (#731) 2020-07-30 20:29:00 -04:00
testing/java/google/registry/testing Fix timestamp inversion bug (#1144) 2021-05-11 14:51:10 -04:00