I have a contract with an interaction defined that requires a state. The state change method is not implemented on the provider yet so I opted to add the @IgnoreMissingStateChange annotation. My failures then changed to the following read timeout. Feels like a bug.
ContractVerificationTest > pactVerificationTestTemplate(PactVerificationContext) > com.organisation.cloud.ag.service.integration.pact.provider.ContractVerificationTest.pactVerificationTestTemplate(PactVerificationContext)[1] FAILED
java.lang.AssertionError: agentGatewayClient - Upon upon receiving a request
Failures:
1) Verifying a pact between agentGatewayClient and agentGateway - upon receiving a request
1.1) Read timed out
at au.com.dius.pact.provider.junit5.PactVerificationContext.verifyInteraction(PactVerificationContext.kt:66)
at com.organisation.cloud.ag.service.integration.pact.provider.ContractVerificationTest.pactVerificationTestTemplate(ContractVerificationTest.java:46)
I have a contract with an interaction defined that requires a state. The state change method is not implemented on the provider yet so I opted to add the @IgnoreMissingStateChange annotation. My failures then changed to the following read timeout. Feels like a bug.
ENV: jdk 17, gradle, testImplementation "au.com.dius.pact.provider:junit5spring:4.3.14"
ContractVerificationTest > pactVerificationTestTemplate(PactVerificationContext) > com.organisation.cloud.ag.service.integration.pact.provider.ContractVerificationTest.pactVerificationTestTemplate(PactVerificationContext)[1] FAILED java.lang.AssertionError: agentGatewayClient - Upon upon receiving a request Failures: