Skip to content

Conversation

@danceratopz
Copy link
Member

@danceratopz danceratopz commented Jan 28, 2025

🗒️ Description

This PR adds a missing check for the case of Engine API exceptions.

If the fixture specifies a payload errorCode, then check that it is indeed raised by the client. If not, fail the test.

🔗 Related Issues

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.

@danceratopz danceratopz added type:bug Something isn't working scope:consume Scope: Consume command suite labels Jan 28, 2025
@danceratopz danceratopz requested a review from marioevz January 28, 2025 13:40
Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for debugging and fixing this!

@marioevz marioevz merged commit 83228e6 into main Jan 28, 2025
21 checks passed
@marioevz marioevz deleted the check-for-expected-api-exception branch January 28, 2025 15:15
marioevz pushed a commit to marioevz/execution-spec-tests that referenced this pull request Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:consume Scope: Consume command suite type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants