Skip to content

Commit

Permalink
perf: clean up tests
Browse files Browse the repository at this point in the history
The regular and overwritable perf buffer tests currently don't share
much test scaffolding because we want to know which sample we've read
for the overwritable case.

Reduce code duplication by adopting the regular and overwritable tests
to use a common sample format which includes both size and sample ID.
Also adopt some of the helpers to fit their most common use case.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
  • Loading branch information
lmb committed Mar 21, 2023
1 parent 5ea5368 commit 1723118
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 340 deletions.
Loading

0 comments on commit 1723118

Please sign in to comment.