give websocket_subprotocol test more time to establish a connection

This commit is contained in:
Benjamin Sergeant 2020-05-08 09:25:54 -07:00
parent c9d5b4a581
commit 3912e22b28
2 changed files with 5 additions and 1 deletions

View File

@ -171,6 +171,10 @@ if (USE_TLS)
if (APPLE)
set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /usr/local/opt/openssl/lib)
set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} /usr/local/opt/openssl/include)
# This is for MacPort OpenSSL 1.0
# set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /opt/local/lib/openssl-1.0)
# set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} /opt/local/include/openssl-1.0)
endif()
# This OPENSSL_FOUND check is to help find a cmake manually configured OpenSSL

View File

@ -96,7 +96,7 @@ TEST_CASE("subprotocol", "[websocket_subprotocol]")
int attempts = 0;
while (!connected)
{
REQUIRE(attempts++ < 10);
REQUIRE(attempts++ < 100);
ix::msleep(10);
}