diff --git a/tests/resources/test-configuration.conf b/tests/resources/test-configuration.conf index 80c5cc1..012ae62 100644 --- a/tests/resources/test-configuration.conf +++ b/tests/resources/test-configuration.conf @@ -3,10 +3,10 @@ name=test-nymea-remoteproxy writeLogs=false logFile=/var/log/nymea-remoteproxy.log monitorSocket=/tmp/nymea-remoteproxy-test.sock -jsonRpcTimeout=2000 -authenticationTimeout=1000 -inactiveTimeout=1500 -aloneTimeout=1500 +jsonRpcTimeout=10000 +authenticationTimeout=10000 +inactiveTimeout=5000 +aloneTimeout=10000 [SSL] certificate=:/test-certificate.crt diff --git a/tests/test-proxy/remoteproxytestsproxy.cpp b/tests/test-proxy/remoteproxytestsproxy.cpp index bbd274f..0582d7a 100644 --- a/tests/test-proxy/remoteproxytestsproxy.cpp +++ b/tests/test-proxy/remoteproxytestsproxy.cpp @@ -1147,6 +1147,8 @@ void RemoteProxyTestsProxy::inactiveTimeout() // Start the server startServer(); + m_configuration->setInactiveTimeout(4000); + RemoteProxyConnection *connection = new RemoteProxyConnection(QUuid::createUuid(), "Sleepy test client", this); connect(connection, &RemoteProxyConnection::sslErrors, this, &BaseTest::ignoreConnectionSslError);