Skip to content

Avoid loosing time with tests

Administrator requested to merge mock-time-to-avoid-waiting-for-tests into master

20 seconds delay in retry calls when retrieving the created order-items took several time, resulting in 2 minutes of total in tests. Mocking the time package these delays are skipped and all tests pass in several seconds.

Before:

----------------------------------------------------------------------
Ran 84 tests in 11.341s

After:

----------------------------------------------------------------------
Ran 84 tests in 1.278s

Merge request reports

Loading