pact-net icon indicating copy to clipboard operation
pact-net copied to clipboard

Wrong result validation when publishing pacts?

Open dominikjeske opened this issue 5 months ago • 11 comments

I'm using 5.0.0-beta.1 to send data to pact. In logs there is info "Pact verification successful" but in logs

2024-01-26T08:26:23.083017Z ERROR ThreadId(09) pact_verifier::pact_broker: Failed to push branch develop for provider version 24.4
2024-01-26T08:26:23.083092Z ERROR ThreadId(09) pact_verifier: Publishing of verification results failed with an error: IO Error - Request to pact broker path '/pacticipants/xxx/branches/develop/versions/24.4' failed: 401 Unauthorized. URL: 'https://test.pactbroker.xxx.pl/'

So my test are green but no pacts reached the server. For now I would have to manually analyze logs and react for this. I think this should be catch by pact-net.

dominikjeske avatar Jan 26 '24 12:01 dominikjeske