[Libreoffice-commits] online.git: loolwsd/test

Pranav Kant pranavk at collabora.com
Wed Jun 1 16:31:34 UTC 2016


 loolwsd/test/UnitAdmin.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 30425808733d2ca692fdc746d3692d8c81319f12
Author: Pranav Kant <pranavk at collabora.com>
Date:   Wed Jun 1 21:58:07 2016 +0530

    loolwsd: Increase timeout for admin test
    
    ... to 60 seconds. This one contains a lot of sub-tests. Further,
    loolwsd shutdown is consuming approx. 15 seconds out of this
    limit. The default 30 seconds, hence, is not enough for this one.
    
    Change-Id: I0c29c92f6be0140cb62b58dacb57392e264d7f30

diff --git a/loolwsd/test/UnitAdmin.cpp b/loolwsd/test/UnitAdmin.cpp
index 5100e6c..8a7ea37 100644
--- a/loolwsd/test/UnitAdmin.cpp
+++ b/loolwsd/test/UnitAdmin.cpp
@@ -408,6 +408,8 @@ public:
     UnitAdmin()
         : _uri(helpers::getTestServerURI() + "/loleaflet/dist/admin/admin.html")
     {
+        setTimeout(60 * 1000);
+
         // Register tests here.
         _tests.push_back(&UnitAdmin::testIncorrectPassword);
         _tests.push_back(&UnitAdmin::testCorrectPassword);


More information about the Libreoffice-commits mailing list