summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smoketestoo_native/smoketest.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/smoketestoo_native/smoketest.cxx b/smoketestoo_native/smoketest.cxx
index b77ed701c0ea..bb47b268d80b 100644
--- a/smoketestoo_native/smoketest.cxx
+++ b/smoketestoo_native/smoketest.cxx
@@ -197,7 +197,9 @@ void Test::test() {
disp, url, css::uno::Sequence< css::beans::PropertyValue >(),
new Listener(&result)),
css::uno::Any());
- result.condition.wait();
+ TimeValue t;
+ t.Seconds = 30; t.Nanosec = 0;
+ result.condition.wait(&t);
CPPUNIT_ASSERT(result.success);
CPPUNIT_ASSERT_EQUAL(rtl::OUString(), result.result);
}