[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54368] [PATCH 1/4] tests: install: Adjust the timeouts on two faili
From: |
Maxim Cournoyer |
Subject: |
[bug#54368] [PATCH 1/4] tests: install: Adjust the timeouts on two failing tests. |
Date: |
Sun, 13 Mar 2022 00:43:52 -0500 |
The 'login on tty1' and 'getlogin on tty1' tests were failing on a machine
equipped with slower hard drives.
* gnu/tests/base.scm (run-basic-test)
["login on tty1", "getlogin on tty1"]: Bump timeout from 10 to 30 s.
---
gnu/tests/base.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm
index 38d4317e52..cfaa736aec 100644
--- a/gnu/tests/base.scm
+++ b/gnu/tests/base.scm
@@ -346,7 +346,8 @@ (define (user-owned? file)
;; It can take a while before the shell commands are executed.
(marionette-eval '(use-modules (rnrs io ports)) marionette)
(wait-for-file "/root/logged-in" marionette
- #:read 'get-string-all)))
+ #:read 'get-string-all
+ #:timeout 30)))
(test-equal "getlogin on tty1"
"\"root\""
@@ -360,7 +361,8 @@ (define (user-owned? file)
;; It can take a while before the shell commands are executed.
(marionette-eval '(use-modules (rnrs io ports)) marionette)
(wait-for-file "/root/login-id" marionette
- #:read 'get-string-all)))
+ #:read 'get-string-all
+ #:timeout 30)))
;; There should be one utmpx entry for the user logged in on tty1.
(test-equal "utmpx entry"
--
2.34.0
- [bug#54368] [PATCH 0/4] Add Btrfs RAID10 install tests., Maxim Cournoyer, 2022/03/13
- [bug#54368] [PATCH 1/4] tests: install: Adjust the timeouts on two failing tests.,
Maxim Cournoyer <=
- [bug#54368] [PATCH 2/4] tests: install: Streamline 'qemu-command/writable-image'., Maxim Cournoyer, 2022/03/13
- [bug#54368] [PATCH 4/4] tests: install: Add two new Btrfs RAID10 install test., Maxim Cournoyer, 2022/03/13
- [bug#54368] [PATCH 3/4] tests: install: Enable the use of multiple disk devices for tests., Maxim Cournoyer, 2022/03/13
- [bug#54368] [PATCH 0/4] Add Btrfs RAID10 install tests., Mathieu Othacehe, 2022/03/18
- [bug#54368] [PATCH 0/4] Add Btrfs RAID10 install tests., Maxim Cournoyer, 2022/03/18
- [bug#54368] [PATCH 0/4] Add Btrfs RAID10 install tests., Mathieu Othacehe, 2022/03/18