Skip to content

Commit

Permalink
test(integration): skip comparing Macaron version in VSA test (#607)
Browse files Browse the repository at this point in the history
This PR fixes an issue in the VSA comparison integration test. We should not compare Macaron version against the snapshot test VSA because the test will fail once we bump the Macaron version in the next release, failing the automatic release altogether!

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
  • Loading branch information
behnazh-w authored Jan 18, 2024
1 parent 4baff18 commit 863a200
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/vsa/compare_vsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ def main() -> int:
expected=expected_payload,
compare_fn_map={
".predicate.timeVerified": skip_compare,
# We should not compare Macaron version against the snapshot test VSA because the test will
# fail once we bump the Macaron version in the next release, failing the automatic release altogether!
".predicate.verifier.version.macaron": skip_compare,
},
)

Expand Down

0 comments on commit 863a200

Please sign in to comment.