Skip to content
Snippets Groups Projects
Commit f8b70e1d authored by Christian Kuhn's avatar Christian Kuhn Committed by Jan Helke
Browse files

[BUGFIX] Stabilize a flaky unit test

getParseTimeReturnsZeroIfNoValuesAreSet() tends to fail sometimes
if $beUserInitialization is > 0 but $totalParseTime is 0. This
edge case of method getParseTime() is avoided by rearranging the call
order of $this->getMilliseconds() slightly.

Change-Id: If5cf00196f6739224c34011b0f8c1ef1f5bbb39a
Resolves: #81653
Related: #80742
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53297


Reviewed-by: default avatarThomas Hohn <thomas@hohn.dk>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarAnja Leichsenring <anja.leichsenring@typo3.com>
Tested-by: default avatarAnja Leichsenring <anja.leichsenring@typo3.com>
Reviewed-by: default avatarJan Helke <typo3@helke.de>
Tested-by: default avatarJan Helke <typo3@helke.de>
parent f8f0acbd
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment