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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Sun May 15 14:32:25 UTC 2016


 loolwsd/test/httpcrashtest.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d636cc16517050774948904600071ab3b38a9230
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun May 15 08:58:20 2016 -0400

    loolwsd: don't reset the expected loolkit count in crash test
    
    Change-Id: I84da0eca6b7194f30cce94ea6332e17f821160ec
    Reviewed-on: https://gerrit.libreoffice.org/25005
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/test/httpcrashtest.cpp b/loolwsd/test/httpcrashtest.cpp
index ade468d..4955afe 100644
--- a/loolwsd/test/httpcrashtest.cpp
+++ b/loolwsd/test/httpcrashtest.cpp
@@ -122,7 +122,7 @@ void HTTPCrashTest::testBarren()
     try
     {
         killLoKitProcesses();
-        InitialLoolKitCount = countLoolKitProcesses(0);
+        countLoolKitProcesses(0);
 
         std::cerr << "Loading after kill." << std::endl;
 
@@ -135,7 +135,7 @@ void HTTPCrashTest::testBarren()
 
         // First load should fail.
         sendTextFrame(socket, "load url=" + documentURL);
-        SocketProcessor("Barren", socket, [&](const std::string& msg)
+        SocketProcessor("Barren ", socket, [&](const std::string& msg)
                 {
                     const std::string prefix = "status: ";
                     if (msg.find(prefix) == 0)


More information about the Libreoffice-commits mailing list