summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-01-30 09:17:28 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-30 09:49:52 +0100
commitd142508d95662bbffc096847e6635f96a561d564 (patch)
treeed2707c8ac70b38589f3c88476a754e5410d2fa1 /test
parente7910852b680a9314a276d58300d510e6ca687c5 (diff)
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@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'test')
-rw-r--r--test/UnitLoadTorture.cpp8
1 files changed, 8 insertions, 0 deletions
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();