Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
asim: extract assertions into its own package
Previously, simulation assertions resided within the tests package. Another PR(cockroachdb#109316) is introducing assertion registration which enables scheduled assertion checks to run as delayed events. Since these assertion events require the assertion structs to conduct assertion checks, the event package would have to depend on the test package. However, the test package would also have to depend on the event package’s exported struct to initialize structures for event generation, creating a circular dependency. To address this issue, this patch moves the assertion component out of the test package to its own package. Note that this commit does not change any existing behavior, and the main purpose is to make future commits cleaner. See also: cockroachdb#109316 Part of: cockroachdb#106192 Release note: none
- Loading branch information