google-nomulus/core/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 Always use Cloud SQL as primary for ClaimsList (#1127) 2021-05-10 16:47:34 -04:00
nonprod Fix some low-hanging code quality issue fruits (#1047) 2021-04-01 18:04:21 -04:00
test Fix timestamp inversion bug (#1144) 2021-05-11 14:51:10 -04:00