You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we are setting up consumer driven testing in our pipelines, and we are trying to replicate a scenario where the provider test fails. I do this by simply asserting 1 equals 2 in the test function. But I dont understand why there is still an OK result being sent to the broker.
Strangely enough, if the test fails through an exception thrown by context.verifyInteraction(), we get a proper Failed result sent to the broker. However, if an exception is thrown by the assertion below it, we get an OK result sent to the broker.
The text was updated successfully, but these errors were encountered:
Hi, we are setting up consumer driven testing in our pipelines, and we are trying to replicate a scenario where the provider test fails. I do this by simply asserting 1 equals 2 in the test function. But I dont understand why there is still an OK result being sent to the broker.
Strangely enough, if the test fails through an exception thrown by context.verifyInteraction(), we get a proper Failed result sent to the broker. However, if an exception is thrown by the assertion below it, we get an OK result sent to the broker.
The text was updated successfully, but these errors were encountered: