-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging to release-5.2: [TT-10518] Tests/address some racy tests (#5771)
[TT-10518] Tests/address some racy tests (#5771) - Adds `unstable` build tag to tests with `!race` (so we can run them with `-race -tags=unstable`) - Fixes a race over base middleware Logger(), SetLogger() and Base() - looping tests marked as flaky or racy respectively (jira tickets in comments) https://tyktech.atlassian.net/browse/TT-10518 --------- Co-authored-by: Tit Petric <tit@tyk.io>
- Loading branch information
Showing
4 changed files
with
44 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
//go:build !race | ||
// +build !race | ||
//go:build !race || unstable | ||
// +build !race unstable | ||
|
||
package gateway | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
//go:build !race | ||
// +build !race | ||
//go:build !race || unstable | ||
// +build !race unstable | ||
|
||
package gateway | ||
|
||
|