4teamwork / ftw.upgrade

An upgrade control panel and upgrade helpers for plone upgrades.
6 stars 10 forks source link

Truncate duration from log entries in tests. #219

Closed deiferni closed 3 years ago

deiferni commented 3 years ago

Asserting against runtime with no means of either overriding how we log during tests or how time is measured will lead to test failures when CPU time available is scarce.

As this has now happened several times we truncate concrete runtime from the logs only comparing against a placeholder.