aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
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);