[Libreoffice-commits] online.git: test/UnitClose.cpp
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 11 09:02:35 UTC 2020
test/UnitClose.cpp | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 8b82efd2858dd49de05921d5fe3b7cf3125819b1
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Feb 11 09:20:13 2020 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Feb 11 10:02:17 2020 +0100
test: increase timeout of UnitClose
This now failed under sanitizers due to a timeout. Make the new limit 2
minutes, sanitizers require 51 seconds for me (so we did not fit into
the 30 seconds default).
Change-Id: Ib8edb002b50e55b605152be5d50574c396964c25
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88424
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/test/UnitClose.cpp b/test/UnitClose.cpp
index 864ac9490..fb1718ccc 100644
--- a/test/UnitClose.cpp
+++ b/test/UnitClose.cpp
@@ -49,6 +49,7 @@ class UnitClose : public UnitWSD
TestResult testAlertAllUsers();
public:
+ UnitClose();
void invokeTest() override;
};
@@ -209,6 +210,12 @@ UnitBase::TestResult UnitClose::testAlertAllUsers()
return TestResult::Ok;
}
+UnitClose::UnitClose()
+{
+ int timeout_minutes = 2;
+ setTimeout(timeout_minutes * 60 * 1000);
+}
+
void UnitClose::invokeTest()
{
UnitBase::TestResult result = testCloseAfterClose();
More information about the Libreoffice-commits
mailing list