aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-09-22 13:57:27 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-09-22 13:57:27 -0500
commit0236d509029b91b496faf0c3a0b06be25a0af9a3 (patch)
tree450a7e6f853ba30699ebe6c146bf6a8749de0e93 /tests/unit
parentec9196ac95986edbd92596991930a430e4dcc5aa (diff)
downloadayatana-indicator-display-0236d509029b91b496faf0c3a0b06be25a0af9a3.tar.gz
ayatana-indicator-display-0236d509029b91b496faf0c3a0b06be25a0af9a3.tar.bz2
ayatana-indicator-display-0236d509029b91b496faf0c3a0b06be25a0af9a3.zip
in AdbdClientTest, raise the test timeout interval from 2s to 5s
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/adbd-client-test.cpp2
1 files changed, 1 insertions, 1 deletions
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<GAdbdServer>(socket_path, std::vector<std::string>{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());