-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
observer_test_helper: make helpers generic over TB
The testing package supports additional test types, such as fuzzing and bench testing. However, our existing observer test helpers were designed only to work with unit tests. To support additional test types, modify the observer test helpers to use the generic testing.TB interface instead of testing.T. This should facilitate writing fuzz tests and benchmarks for Tetragon in the future. Signed-off-by: William Findlay <will@isovalent.com>
- Loading branch information
1 parent
9ed09fa
commit 28cebba
Showing
3 changed files
with
58 additions
and
58 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