Hello, I recently updated pact provider `junit5spr...
# pact-jvm
s
Hello, I recently updated pact provider
junit5spring
from
4.1.16
to
4.2.0
, the problem is test hangs like 20s in certain tests. When I revert back my version to
4.1.16
or
4.1.19
it runs smoothly. Any idea why this is happening?
u
Are you able to provide any debug logs for those tests?
s
Copy code
Version 4.2.0
........
[from Pact Broker <https://pact-broker/pacts/provider/oloservice/consumer/web-order-ahead/pact-version/540da9e1a305aaf41d08520682ef3e12c4c46754/metadata/c1tdW3RdPVBSLTI1OTQmc1tdW2xdPXRydWUmc1tdW2N2XT00Nzg1JnA9ZmFsc2U>]
  Given Merchant exists
  a GET request for a customer's current orders with 47DBHCFNB0X85
[2022-01-27 21:57:51,576] [INFO] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale= GET <http://localhost:8080/v1/merchants/47DBHCFNB0X85/customers/current/orders> (Logbook)
[2022-01-27 21:57:51,628] [INFO] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale= 200 GET <http://localhost:8080/v1/merchants/47DBHCFNB0X85/customers/current/orders> (Logbook)
    returns a response which
      has status code 200 (OK)
      has a matching body (OK)
[2022-01-27 21:58:46,054] [WARN] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale= Not all of the 21 were verified. The following were missing: (DefaultTestResultAccumulator)
[2022-01-27 21:58:46,054] [WARN] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale=     a GET request for a customer's current orders with Contract-Test (DefaultTestResultAccumulator)
........

Version 4.1.19
........
[from Pact Broker <https://pact-broker.com/pacts/provider/oloservice/consumer/web-order-ahead/pact-version/540da9e1a305aaf41d08520682ef3e12c4c46754/metadata/c1tdW3RdPVBSLTI1OTQmc1tdW2xdPXRydWUmc1tdW2N2XT00Nzg1JnA9ZmFsc2U>]
  Given Merchant exists
  a GET request for a customer's current orders with 47DBHCFNB0X85
[2022-01-27 22:07:25,516] [INFO] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale= GET <http://localhost:8080/v1/merchants/47DBHCFNB0X85/customers/current/orders> (Logbook)
[2022-01-27 22:07:25,584] [INFO] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale= 200 GET <http://localhost:8080/v1/merchants/47DBHCFNB0X85/customers/current/orders> (Logbook)
    returns a response which
      has status code 200 (OK)
      has a matching body (OK)
[2022-01-27 22:07:25,889] [WARN] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale= Not all of the 21 were verified. The following were missing: (DefaultTestResultAccumulator)
[2022-01-27 22:07:25,889] [WARN] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale=     a GET request for a customer's current orders with Contract-Test (DefaultTestResultAccumulator)
[2022-01-27 22:07:25,889] [WARN] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale=     a GET request for a full menu with 47DBHCFNB0X85 (DefaultTestResultAccumulator)
[2022-01-27 22:07:25,889] [WARN] u= p= r= d= m= v= i= hm= hs= da= am= t= p= w= db= locale=     a GET request for a full menu with Contract-Test (DefaultTestResultAccumulator)
There is no visible differences except version 4.2.0 takes almost a minute to pass the tests
It doesn't randomly stop. It stops at exactly same tests every time
I think it has to do something with the version, I tried from
4.1.16
to
4.1.19
there is no problem.
u
Can you try
4.2.19
?
s
I tried
4.3.0
Didn't solve the problem
u
No,
4.2.19
instead of
4.2.0
s
Nope, it didn't work
u
You will have to provide debug logs for us to help you
s
You mean entire log?
@uglyog the one that takes almost a minute to finish the test is returning a list, all other tests are returning an object. There is no other error logs