integration-test: Fix occasional failure of test_luks_forced_removal
authorMartin Pitt <martinpitt@gnome.org>
Thu, 6 Sep 2012 08:17:47 +0000 (10:17 +0200)
committerMartin Pitt <martinpitt@gnome.org>
Thu, 6 Sep 2012 08:17:47 +0000 (10:17 +0200)
commit6ad67f13293669799659f9b953577dd6fb6e1597
tree272603a7694d7fa0734b5409a1de4434c07de082
parentc3078a56d5f77260fe7cb2e6058415ced08c60d3
integration-test: Fix occasional failure of test_luks_forced_removal

Sometimes the client's GDBusObjectManager does not refresh properly and keeps
around objects which have long gone, which leads to a timeout in waiting for
the device object to disappear. Presumably this is because the test suite does
not run a main loop, and we cannot currently access
g_main_context_get_default() from introspection. So instead, just generate a
fresh client.
src/tests/integration-test