summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-03-30 21:40:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-03-31 14:06:56 +0200
commite2ba33336f5dfe989db0c287e3cb0d54e868939c (patch)
tree112b7e9ce9fa89cca63be7f0ce9484c9c74e6a4a /basic/qa
parenta31aadb1ef7dfdd4ae76a15707ab51a82c95d868 (diff)
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 3564b5c6e93b2bf5881b359015efae351dbe8342 "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>
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/basic_coverage/test_tdf132388_ReplacePerformance.bas2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/basic_coverage/test_tdf132388_ReplacePerformance.bas b/basic/qa/basic_coverage/test_tdf132388_ReplacePerformance.bas
index 531cdec5c622..1bb3b3de21c9 100644
--- a/basic/qa/basic_coverage/test_tdf132388_ReplacePerformance.bas
+++ b/basic/qa/basic_coverage/test_tdf132388_ReplacePerformance.bas
@@ -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)