Skip to content

Commit ea07203

Browse files
authored
test(integration): skip comparing Macaron version in VSA test (#607)
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 <[email protected]>
1 parent 6963bd4 commit ea07203

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/vsa/compare_vsa.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ def main() -> int:
250250
expected=expected_payload,
251251
compare_fn_map={
252252
".predicate.timeVerified": skip_compare,
253+
# We should not compare Macaron version against the snapshot test VSA because the test will
254+
# fail once we bump the Macaron version in the next release, failing the automatic release altogether!
255+
".predicate.verifier.version.macaron": skip_compare,
253256
},
254257
)
255258

0 commit comments

Comments
 (0)