diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-11-07 20:20:25 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-11-07 20:20:25 -0600 |
commit | 696c57e3fce174d7a30d2dd32cdb299c1dd663c3 (patch) | |
tree | e2b7b94ac996eeaf6d34ebeb701e0829c8367d8c /tests/test-service.cc | |
parent | f7aa585e8a8065fc2d68ac4fb9ccedbf5c37a83d (diff) | |
download | ayatana-indicator-session-696c57e3fce174d7a30d2dd32cdb299c1dd663c3.tar.gz ayatana-indicator-session-696c57e3fce174d7a30d2dd32cdb299c1dd663c3.tar.bz2 ayatana-indicator-session-696c57e3fce174d7a30d2dd32cdb299c1dd663c3.zip |
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
Diffstat (limited to 'tests/test-service.cc')
-rw-r--r-- | tests/test-service.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |