basic/qa/basic_coverage/test_tdf132388_ReplacePerformance.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e2ba33336f5dfe989db0c287e3cb0d54e868939c Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Mar 30 21:40:07 2022 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Thu Mar 31 14:06:56 2022 +0200 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 <[email protected]> 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)
