From: Michael Bauer Date: Mon, 7 Apr 2014 10:46:51 +0000 (+0200) Subject: pushed wait time in DBusServiceRegistryTest.SubscribeBeforeConnectWorks to 5 seconds... X-Git-Tag: 2.1.6~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c65f551cd7ed799d0aafd5de8584c98236f65de6;p=profile%2Fivi%2Fcommon-api-dbus-runtime.git pushed wait time in DBusServiceRegistryTest.SubscribeBeforeConnectWorks to 5 seconds, to avoid timing issues on windows --- diff --git a/src/test/DBusServiceRegistryTest.cpp b/src/test/DBusServiceRegistryTest.cpp index d8e60df..bad8181 100644 --- a/src/test/DBusServiceRegistryTest.cpp +++ b/src/test/DBusServiceRegistryTest.cpp @@ -254,7 +254,7 @@ TEST_F(DBusServiceRegistryTest, SubscribeBeforeConnectWorks) { EXPECT_TRUE(waitForAvailabilityStatusChanged( testDBusServiceListener, CommonAPI::AvailabilityStatus::AVAILABLE)); - usleep(2000000); + usleep(5000000); EXPECT_LE(testDBusServiceListener.availabilityStatusCount, 3); EXPECT_EQ(testDBusStubAdapter->introspectionCount, 1);