[Libreoffice-commits] online.git: test/UnitLoadTorture.cpp
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jan 30 08:50:10 UTC 2020
test/UnitLoadTorture.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit d142508d95662bbffc096847e6635f96a561d564
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Jan 30 09:17:28 2020 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Jan 30 09:49:52 2020 +0100
test: increase timeout of UnitLoadTorture
This now failed under sanitizers due to a timeout. Double the limit;
asan typically causes a 2x slowdown.
Change-Id: I943c6f900371ff4c05c760d3d993829d54264941
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87716
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/test/UnitLoadTorture.cpp b/test/UnitLoadTorture.cpp
index 01d2a385a..03fea2790 100644
--- a/test/UnitLoadTorture.cpp
+++ b/test/UnitLoadTorture.cpp
@@ -30,6 +30,7 @@ class UnitLoadTorture : public UnitWSD
TestResult testLoadTorture();
public:
+ UnitLoadTorture();
void invokeTest() override;
};
@@ -194,6 +195,13 @@ UnitBase::TestResult UnitLoadTorture::testLoadTorture()
return TestResult::Ok;
}
+UnitLoadTorture::UnitLoadTorture()
+{
+ // Double of the default.
+ int timeout_minutes = 1;
+ setTimeout(timeout_minutes * 60 * 1000);
+}
+
void UnitLoadTorture::invokeTest()
{
UnitBase::TestResult result = testLoadTortureODT();
More information about the Libreoffice-commits
mailing list