nixosTests.gnome3-xorg: port to python/rewrite#73938
Merged
worldofpeace merged 2 commits intoNixOS:masterfrom Jan 8, 2020
Merged
nixosTests.gnome3-xorg: port to python/rewrite#73938worldofpeace merged 2 commits intoNixOS:masterfrom
worldofpeace merged 2 commits intoNixOS:masterfrom
Conversation
55f92f1 to
4bc8e2f
Compare
A lot of tests assume that the alice user will have a uid of 1000. Let's make that a guarantee and be able to reference this value.
We've rewritten it use GDM, and we can now autologin to the X11 session because of the accountsservice preStart script for autologin. It should work similar to how the wayland test works, just with a few nuanced differences for xorg.
4bc8e2f to
228818c
Compare
Contributor
Author
|
I've made this match the gnome3.nix test because that works reliably. Until the python driver doesn't poll the cli for waiting on systemd units, using them in this test will not work. |
Contributor
Author
|
@GrahamcOfBorg test gnome3-xorg |
Contributor
Author
|
Note the wmclass of gnome-terminal is specifically |
Contributor
Author
|
In a followup I'd like to try testing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
This test unfortunately doesn't work properly with this port.
It fails at the call to
with
error: unit "gnome-session-x11@gnome.target" is inactive and there are no pending jobs.Also, how I set the default session here is not really what I want.I wrote #73378 shortly after this because bash... yeah no.Rebased because that code is now merged.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)Notify maintainers
cc @