Skip to content

Commit e66ebad

Browse files
committed
ci: add additional wait to fix race with kitty starting in tests
1 parent 9c06507 commit e66ebad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.dev/checks/wlroots-hyprland.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ testers.runNixOSTest {
3434
machine.send_key('meta_l-ctrl-k')
3535
machine.wait_until_succeeds("${procps}/bin/pgrep kitty", timeout=10)
3636
37-
machine.sleep(2) # Wait for it to fully start
37+
machine.sleep(5) # Wait for it to fully start. This wait is janky.
3838
output_file = "/tmp/xremap-output"
3939
machine.send_chars(f"echo -n '9' > {output_file}\n")
4040
machine.sleep(2)

.dev/checks/x11-system.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ testers.runNixOSTest {
3535
machine.wait_for_window("root@machine")
3636
# machine.wait_until_succeeds("${procps}/bin/pgrep kitty", timeout=10)
3737
38-
machine.sleep(2) # Wait for it to fully start
38+
machine.sleep(5) # Wait for it to fully start. This wait is janky.
3939
output_file = "/tmp/xremap-output"
4040
machine.send_chars(f"echo -n '9' > {output_file}\n")
4141
machine.sleep(2)

0 commit comments

Comments
 (0)