Skip to content

Commit

Permalink
Revert "Temporary fix to E2E test to unblock release"
Browse files Browse the repository at this point in the history
This reverts commit 1236a3c.
  • Loading branch information
jterapin committed Aug 9, 2024
1 parent 649e4eb commit b205e91
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,13 @@ def match_resp_data(test_case, http_resp, it)
expected_data =
if error_case?(test_case)
error_shape = http_resp.context.operation.errors.find do |err|
err.shape.name == test_case['errorCode']
shape =
if err.shape['error']
err.shape['error']['code']
else
err.shape.name
end
shape == test_case['errorCode']
end
raise "Unable to find #{test_case['errorCode']} in error shapes" if error_shape.nil?

Expand Down

0 comments on commit b205e91

Please sign in to comment.