dedovicnermin / BANKINGPROJECT

Real-time payment application. Combines microservices to achieve event-driven functionality.
1 stars 1 forks source link

Transient error appearing more often #113

Closed dedovicnermin closed 3 years ago

dedovicnermin commented 3 years ago

TransferFundsIntegrationTest.whenTransferErrorArrives_errorConsumerWillConsume() - found in rest tests

when testing this class or specifically testing this case, will pass every time. However, running mvn clean install typically requires two attempts (one fail / next passing).

Idea is to use @Timeout junit annotation. If not, will have to add asynchronous library awaitility

dedovicnermin commented 3 years ago

No idea what exactly is causing this test to fail. Raising the mockito.verify timeout time seems to make things worse.

dedovicnermin commented 3 years ago

ec0aa8007f294329eacf2cbf5a8d6e2eb438e110

dedovicnermin commented 3 years ago

commit after passing 10 clean installs in a row.