-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: colord-daemon/client{import} sometimes fails #94
Comments
colord needs something running in the session to import the profile, either gnome-settings-daemon or xiccd should do the trick. I'd be open to a patch that disables this test if there's no gnome-settings-daemon in the process list, if that helps. |
Skipping the test if the session component isn't there sounds reasonable, and I might look into doing that, but this also seems like exactly the sort of full-system-integration test that would be most valuable to do. Sadly, doing the obvious thing doesn't work - I've got the tests running under
which is rather frustrating, because they sometimes pass (and |
If gio info says the right content type that's tricky. Could it be done kind of mime cache that needs invalidating? |
Hm, maybe? I'll try running a more standard GNOME session and see if the problem remains. |
Hah! Excellent! This appears to have caught a real bug. Running a more standard GNOME session in the test environment makes the test mostly pass, but it still sometimes fails. Just running
I guess this might actually be a |
Of course, passing |
I've just run into this problem on Fedora 33 (colord v1.4.5) again. Trying to import the profile with Appears to be a long-standing bug: https://bugs.freedesktop.org/show_bug.cgi?id=82770 and https://bugzilla.redhat.com/show_bug.cgi?id=1372046 The file is copied to |
I'm in the process of trying to get the installed tests running in the Ubuntu & Debian test infrastructure, and I can't seem to get the environment set up correctly for this test.
As far as I can tell, it calls cd_import_profile which ends up copying the profile into the user's ICC directory and then waiting for the daemon to pick Up the new profile. However, when running in the test infrastructure the daemon doesn't pick up the new file (nor can I see what code is actually watching the user directories - the daemon only seems to be monitoring system-wide locations)
What am I (or colord) missing here?
The text was updated successfully, but these errors were encountered: