From 0236d509029b91b496faf0c3a0b06be25a0af9a3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 22 Sep 2016 13:57:27 -0500 Subject: in AdbdClientTest, raise the test timeout interval from 2s to 5s --- tests/unit/adbd-client-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/adbd-client-test.cpp b/tests/unit/adbd-client-test.cpp index 148a46b..6506e28 100644 --- a/tests/unit/adbd-client-test.cpp +++ b/tests/unit/adbd-client-test.cpp @@ -87,7 +87,7 @@ g_debug("%s %s thread %p", G_STRLOC, G_STRFUNC, g_thread_self()); // start a mock AdbdServer with to fire test key requests and wait for a response auto adbd_server = std::make_shared(socket_path, std::vector{test.request}); - wait_for([adbd_server](){return !adbd_server->m_responses.empty();}, 2000); + wait_for([adbd_server](){return !adbd_server->m_responses.empty();}, 5000); EXPECT_EQ(test.expected_pk, pk); ASSERT_EQ(1, adbd_server->m_responses.size()); EXPECT_EQ(test.expected_response, adbd_server->m_responses.front()); -- cgit v1.2.3