test/httpwserror.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 016a85b643004a82b54b579bfa3e1aefab256dd3 Author: Ashod Nakashian <[email protected]> Date: Sun Jan 29 16:36:31 2017 -0500 wsd: allow testing higher MAX_DOCUMENTS and MAX_CONNECTIONS Change-Id: I678af51871c2b145ce91c1646315a00ea1ac60fa Reviewed-on: https://gerrit.libreoffice.org/33676 Reviewed-by: Ashod Nakashian <[email protected]> Tested-by: Ashod Nakashian <[email protected]> diff --git a/test/httpwserror.cpp b/test/httpwserror.cpp index 6c9c123..f805fd7 100644 --- a/test/httpwserror.cpp +++ b/test/httpwserror.cpp @@ -117,7 +117,7 @@ void HTTPWSError::testMaxDocuments() static_assert(MAX_DOCUMENTS >= 2, "MAX_DOCUMENTS must be at least 2"); const auto testname = "maxDocuments "; - if (MAX_DOCUMENTS > 50) + if (MAX_DOCUMENTS > 200) { std::cerr << "Skipping " << testname << "test since MAX_DOCUMENTS (" << MAX_DOCUMENTS << ") is too high to test. Set to a more sensible number, ideally a dozen or so." << std::endl; @@ -168,7 +168,7 @@ void HTTPWSError::testMaxConnections() static_assert(MAX_CONNECTIONS >= 3, "MAX_CONNECTIONS must be at least 3"); const auto testname = "maxConnections "; - if (MAX_CONNECTIONS > 100) + if (MAX_CONNECTIONS > 300) { std::cerr << "Skipping " << testname << "test since MAX_CONNECTION (" << MAX_CONNECTIONS << ") is too high to test. Set to a more sensible number, ideally a dozen or so." << std::endl; @@ -223,7 +223,7 @@ void HTTPWSError::testMaxViews() static_assert(MAX_CONNECTIONS >= 3, "MAX_CONNECTIONS must be at least 3"); const auto testname = "maxViews "; - if (MAX_CONNECTIONS > 300) + if (MAX_CONNECTIONS > 200) { std::cerr << "Skipping " << testname << "test since MAX_CONNECTION (" << MAX_CONNECTIONS << ") is too high to test. Set to a more sensible number, ideally a dozen or so." << std::endl; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
