test/httpwstest.cpp | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit e325bc2978eb0d751eadab7abe9cadcffc7a49bd
Author: Ashod Nakashian <[email protected]>
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 <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits