[Libreoffice-commits] online.git: test/httpwstest.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Fri Feb 3 07:05:40 UTC 2017
test/httpwstest.cpp | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit e325bc2978eb0d751eadab7abe9cadcffc7a49bd
Author: Ashod Nakashian <ashod.nakashian at 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 <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at 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);
More information about the Libreoffice-commits
mailing list