-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
) * refactor: move matcher test where other Sample types can be checked * test: include additional sample types in test This should make the current tests fail and uncover the source of the issue * fix: always include non-`ProcessSample`s * refactor: reduce duplicate checks for sample type There were many different places where it was checked that the sample was a process sample or not, and the implementations were different each time. At the cost of a little function duplication I have removed the redundant checks and (hopefully) streamlined code test: remove redundant test tested function will never be applied to non-processsamples fix: do not exclude when no exclusion rules are defined docs: improve function names and state purpose style: remove redundant function * style: remove redundant parameters and logic from exclude matcher func style: print rich representation of excluded sample * docs: specify functions only decide for ProcessSample * refactor: check for sample type before applying matchers * test: remove invalid cases the removed tests were checking the non-processsample exclusion + FF enabled behavior. Given the non-processsample check is now done elsewhere, these tests are now invalid
- Loading branch information
1 parent
302f196
commit 01ed9a4
Showing
4 changed files
with
170 additions
and
273 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
Oops, something went wrong.