Hi, i am trying to understand the meaning of these...
# pact-jvm
i
Hi, i am trying to understand the meaning of these warnings, and what deleterious effects i should expect
Copy code
2023-10-17 06:35:39 [XNIO-1 task-1]  INFO  o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
2023-10-17 06:35:39 [XNIO-1 task-1]  INFO  o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms
    returns a response which
      has status code 200 (OK)
      has a matching body (OK)
2023-10-17 06:35:39 [Test worker]  WARN  a.c.d.p.p.DefaultTestResultAccumulator - Not all of the 4 were verified. The following were missing:
2023-10-17 06:35:39 [Test worker]  WARN  a.c.d.p.p.DefaultTestResultAccumulator -     Some pot report
2023-10-17 06:35:39 [Test worker]  WARN  a.c.d.p.p.DefaultTestResultAccumulator -     Some provider-finder report
2023-10-17 06:35:39 [Test worker]  WARN  a.c.d.p.p.DefaultTestResultAccumulator -     some-icsd-report-that-throws-an-exception
2023-10-17 06:35:39 [Test worker]  INFO  a.c.d.p.p.j.PactVerificationStateChangeExtension - Invoking state change method 'pot-report-exists':SETUP
I have 4 interactions. They all seem to run. As in I can see they actually hit the http endpoint and the the endpoints return data. I can make the test fail by changing the provider to return stuff it shouldn't; thats expected. So why do i get these warnings, they are verified ? The warning repeats with 1 less interaction until all 4 are done. Is this expected ?
r
You can ignore those, unless your test fails, then you would want to look at those messages to understand the sequence of events
i
Okies, thanks 🙂 tho, I do like to eliminate warnings 😞