"[local:fake.legacy.service.LegacyInterface:fake.legacy.service]\n"
"dbus_connection=fake.legacy.service.connection\n"
"dbus_object=/some/legacy/path/6259504\n"
-"dbus_interface=fake.legacy.service.LegacyInterface\n";
+"dbus_interface=fake.legacy.service.LegacyInterface\n"
+"dbus_predefined=true\n";
typedef std::vector<CommonAPI::DBus::DBusServiceAddress>::value_type vt;
static const std::vector<CommonAPI::DBus::DBusServiceAddress> dbusAddresses = {
break;
}
}
-
+ sleep(1);
auto found = std::find(availableDBusServices.begin(), availableDBusServices.end(), commonApiAddress);
ASSERT_TRUE(availableDBusServices.begin() != availableDBusServices.end());
TEST_F(DBusServiceRegistryTestWithPredefinedRemote, RecognizesCommonAPIDBusServiceInstanceAsAlive) {
+ sleep(1);
ASSERT_TRUE(dbusServiceRegistry_->isServiceInstanceAlive("test.service.name", "test.instance.name", "/test/instance/name"));
}