diff options
-rw-r--r-- | test/UnitClose.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |