aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-03-15 15:55:19 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-03-15 15:55:19 -0500
commit670f6fd05bd49e58ea326656fe8f231df4685533 (patch)
tree8eb406dc7b5582109364050a88c849368a016afa /tests/unit
parentdf322a475939f3d30e4ff20213df1c01f7ff26d5 (diff)
downloadayatana-indicator-display-670f6fd05bd49e58ea326656fe8f231df4685533.tar.gz
ayatana-indicator-display-670f6fd05bd49e58ea326656fe8f231df4685533.tar.bz2
ayatana-indicator-display-670f6fd05bd49e58ea326656fe8f231df4685533.zip
fix test timing issue, had max timeout at 1 sec for listening for fdo notification user response, but the tests on the phone are sometimes too slow for that timeout
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/usb-snap-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/usb-snap-test.cpp b/tests/unit/usb-snap-test.cpp
index 84555cc..4300c47 100644
--- a/tests/unit/usb-snap-test.cpp
+++ b/tests/unit/usb-snap-test.cpp
@@ -163,7 +163,7 @@ TEST_F(UsbSnapFixture, TestRoundTrip)
QVariantList() << id << test.action_to_invoke);
// test that UsbSnap emits on_user_response() as a result
- wait_for([&user_response_set](){return user_response_set;});
+ wait_for([&user_response_set](){return user_response_set;}, 2000);
EXPECT_TRUE(user_response_set);
ASSERT_EQ(test.expected_response, user_response);