Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Security Level: Public
-
None
-
CBG Sprint 20, CBG Sprint 24
-
8
Description
The enhanced sequence allocation in CBG-258 means that sequences allocated to documents in our unit tests may be non-deterministic when the tests are run under race. Currently this is being handled by enforcing sequence allocation batch sizes of 1 in most unit tests.
To provide better coverage of the sequence allocation changes, it would be preferable to refactor the existing tests to not rely on specific sequence values. This includes both tests that are asserting specific sequence values in the rests, as well as tests that use waitForSequence to manage timing.
Attachments
Issue Links
- relates to
-
CBG-258 Spec and implementation for more efficient sequence allocation
- Resolved