forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
132653: rac2: fix mutex ordering issues in tests r=kvoli a=pav-kv The problem is partly described in cockroachdb#132293 (comment), but the same thing applies to the `scheduledMu` mutex. This PR is a minimal fix to get the `--deadlock` CI failures out the way, though this test needs a better refactoring. The purpose/scope of the extra mutexes in the test harness is unclear, and should be revisited and specified. In a deterministic test, there should be no need for extra mutexes - their existence indicates that either the test is non-deterministic, or the mutexes are mostly redundant (and so we should be clear about their purpose). Fixes cockroachdb#132040, cockroachdb#132293 Co-authored-by: Pavel Kalinnikov <pavel@cockroachlabs.com>
- Loading branch information
Showing
1 changed file
with
34 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters