give websocket_subprotocol test more time to establish a connection
This commit is contained in:
parent
c9d5b4a581
commit
3912e22b28
@ -171,6 +171,10 @@ if (USE_TLS)
|
|||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /usr/local/opt/openssl/lib)
|
set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /usr/local/opt/openssl/lib)
|
||||||
set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} /usr/local/opt/openssl/include)
|
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()
|
endif()
|
||||||
|
|
||||||
# This OPENSSL_FOUND check is to help find a cmake manually configured OpenSSL
|
# This OPENSSL_FOUND check is to help find a cmake manually configured OpenSSL
|
||||||
|
@ -96,7 +96,7 @@ TEST_CASE("subprotocol", "[websocket_subprotocol]")
|
|||||||
int attempts = 0;
|
int attempts = 0;
|
||||||
while (!connected)
|
while (!connected)
|
||||||
{
|
{
|
||||||
REQUIRE(attempts++ < 10);
|
REQUIRE(attempts++ < 100);
|
||||||
ix::msleep(10);
|
ix::msleep(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user