test/httpwstest.cpp |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit e325bc2978eb0d751eadab7abe9cadcffc7a49bd
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Mon Jan 30 12:40:37 2017 -0500

    wsd: ensure test doc is closed before reloading
    
    This reduces the chance for random test failures.
    
    Change-Id: I961a502d57a3cb4946b3b7febc6e6b03e7f36aa1
    Reviewed-on: https://gerrit.libreoffice.org/33858
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/test/httpwstest.cpp b/test/httpwstest.cpp
index ff48454..f076950 100644
--- a/test/httpwstest.cpp
+++ b/test/httpwstest.cpp
@@ -1427,6 +1427,10 @@ void HTTPWSTest::testInsertAnnotationWriter()
 
     // Close and reopen the same document and test again.
     socket->shutdown();
+
+    // Make sure the document is fully unloaded.
+    testNoExtraLoolKitsLeft();
+
     std::cerr << "Reloading " << std::endl;
     socket = loadDocAndGetSocket(_uri, documentURL, testname);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to