From 696c57e3fce174d7a30d2dd32cdb299c1dd663c3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 7 Nov 2012 20:20:25 -0600 Subject: wrap the g_dbus_connection_call_sync() calls in g_message to see whether or not this is where the jenkins failures are coming from --- tests/test-service.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test-service.cc') diff --git a/tests/test-service.cc b/tests/test-service.cc index cd57c8b..2f82bb3 100644 --- a/tests/test-service.cc +++ b/tests/test-service.cc @@ -105,6 +105,7 @@ TEST_F (ClientTest, TestCanStartService) // call GetUserRealName(), which as a side effect should activate // indicator-session-service via the .service file in the tests/ directory error = NULL; +g_message ("calling g_dbus_connection_call_sync"); result = g_dbus_connection_call_sync (session_bus, INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_SERVICE_DBUS_OBJECT, @@ -116,6 +117,7 @@ TEST_F (ClientTest, TestCanStartService) -1, NULL, &error); +g_message ("done calling g_dbus_connection_call_sync"); EXPECT_TRUE (error == NULL); ASSERT_TRUE (result != NULL); @@ -132,6 +134,7 @@ TEST_F (ClientTest, TestCanStartService) g_clear_pointer (&result, g_variant_unref); // call IndicatorService's Shutdown() method for a clean exit +g_message ("calling g_dbus_connection_call_sync"); result = g_dbus_connection_call_sync (session_bus, INDICATOR_SESSION_DBUS_NAME, "/org/ayatana/indicator/service", @@ -140,5 +143,6 @@ TEST_F (ClientTest, TestCanStartService) NULL, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL); +g_message ("calling g_clear_pointer"); g_clear_pointer (&result, g_variant_unref); } -- cgit v1.2.3