diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2018-05-20 20:59:53 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-05-20 20:59:53 +0200 |
commit | 4db2d4d1fda550d480faa72e32b0e4e07c7862b5 (patch) | |
tree | be6d870fee65d94b9133f5261a16de870a44e578 /nixos/tests/xss-lock.nix | |
parent | b7ba5dec0d8027980012227e32855d71f0fa888d (diff) | |
download | nixpkgs-4db2d4d1fda550d480faa72e32b0e4e07c7862b5.tar nixpkgs-4db2d4d1fda550d480faa72e32b0e4e07c7862b5.tar.gz nixpkgs-4db2d4d1fda550d480faa72e32b0e4e07c7862b5.tar.bz2 nixpkgs-4db2d4d1fda550d480faa72e32b0e4e07c7862b5.tar.lz nixpkgs-4db2d4d1fda550d480faa72e32b0e4e07c7862b5.tar.xz nixpkgs-4db2d4d1fda550d480faa72e32b0e4e07c7862b5.tar.zst nixpkgs-4db2d4d1fda550d480faa72e32b0e4e07c7862b5.zip |
nixos/xsslock: wait until `pgrep xlock` succeeds (#40810)
Please refer to the conversation in the original PR (#40619) for further reference: https://github.com/NixOS/nixpkgs/pull/40619#issuecomment-390437845 It takes some time after the standby to trigger the locker which might break the test on Hydra.
Diffstat (limited to 'nixos/tests/xss-lock.nix')
-rw-r--r-- | nixos/tests/xss-lock.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/xss-lock.nix b/nixos/tests/xss-lock.nix index 3e3864cab77..045667bdcde 100644 --- a/nixos/tests/xss-lock.nix +++ b/nixos/tests/xss-lock.nix @@ -20,6 +20,6 @@ with lib; $machine->fail("pgrep xlock"); $machine->succeed("su -l alice -c 'xset dpms force standby'"); - $machine->succeed("pgrep xlock"); + $machine->waitUntilSucceeds("pgrep xlock"); ''; }) |