-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: add version check to IsSeparatedIntentsEnabledForTesting
`Engine.IsSeparatedIntentsEnabledForTesting()` is a test method to detect whether separated intents are enabled (as these are randomly enabled during tests). However, the function only checked the setting, and failed to check whether the cluster version was recent enough, causing it to return false positives. This patch adds a cluster version check to fix this, which also required changing the interface to thread a context through. Release note: None
- Loading branch information
1 parent
c7f9851
commit 0c1c6d9
Showing
4 changed files
with
14 additions
and
11 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
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
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
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