Skip to content
Snippets Groups Projects
Commit 96480401 authored by Philip Withnall's avatar Philip Withnall
Browse files

tests: Isolate directories in gdbus-peer test


So that the tests all end up using separate `.dbus-keyring` directories,
and hence not racing to create and acquire lock files, use
`G_TEST_OPTION_ISOLATE_DIRS` to ensure they all run in separate
disposable directories.

This has the added benefit of meaning they don’t touch the developer’s
actual `$HOME` directory.

This reduces the false-failure rate of `gdbus-peer` by a factor of 9 for
me on my local machine.

Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>

Fixes: #1912
parent 45d98b88
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment