mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
* 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.
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.