-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client/pkg/testutil: add shouldSkip func for interestingGoroutines
interestingGoroutines uses so many strings.Contains checks to determine whether to continue, I think it can be avoided. This patch introduces shouldSkip func to do the checks in a loop to make the logic clearer. Signed-off-by: Jes Cok <[email protected]>
- Loading branch information
1 parent
caca515
commit 06b5037
Showing
1 changed file
with
36 additions
and
20 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