Adapt test to even slower builds
...like my local ASan+UBSan build, which now happened to fail once with
> Failed: TestReplacePerformance (t = 60 s)
> Tests passed: 0
> Tests failed: 1
when the machine was under load during a parallelizing `make check`, following
up on 3564b5c6e9
"Adapt test to slow builds"
Change-Id: I8f0c8f7e6e145b6d5009f48d2af865ea5caab375
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132335
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
a31aadb1ef
commit
e2ba33336f
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ Sub TestReplacePerformance()
|
|||
t = Now
|
||||
s = Replace(s, " ", "*", 1, -1, 1)
|
||||
t = Now - t
|
||||
TestUtil.Assert(t <= TimeSerial(0, 1, 0), "TestReplacePerformance", Format(t, """t = ""[s]"" s"""))
|
||||
TestUtil.Assert(t <= TimeSerial(0, 2, 0), "TestReplacePerformance", Format(t, """t = ""[s]"" s"""))
|
||||
Exit Sub
|
||||
errorHandler:
|
||||
TestUtil.ReportErrorHandler("TestReplacePerformance", Err, Error$, Erl)
|
||||
|
|
Loading…
Reference in a new issue