Skip to content

Commit

Permalink
test(osv): Make the test which queries by commit less flaky
Browse files Browse the repository at this point in the history
Relax the assertion to only check that a single expected vulnerability
is amongst the actually returned ones. Use the (only) vulnerability
which had been returned back when OSV was introduced, in July 2022. In
these ~2.5 years the vulnerability changed only in terms of the schema
version. As the schema version changes are not very frequent, this
likely reduces flakyness.

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Jan 17, 2025
1 parent dcd71a5 commit b9fd340
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1,967 deletions.
Loading

0 comments on commit b9fd340

Please sign in to comment.