naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
2aacef
From 5b859cca580ee9c050486024ebd8cfdb34049008 Mon Sep 17 00:00:00 2001
2aacef
From: Frantisek Sumsal <frantisek@sumsal.cz>
2aacef
Date: Mon, 23 Jan 2023 19:13:49 +0100
2aacef
Subject: [PATCH] test: bump the container spawn timeout to 60s
2aacef
2aacef
As 30s might be not enough on busy systems (and we already bumped the
2aacef
reboot timeout from 30s to 60s for this reason).
2aacef
2aacef
(cherry picked from commit d932022ddfe021b1c49ffaf4d7dfe4093656f0c5)
2aacef
2aacef
Related: #2138081
2aacef
---
2aacef
 test/test-shutdown.py | 2 +-
2aacef
 1 file changed, 1 insertion(+), 1 deletion(-)
2aacef
2aacef
diff --git a/test/test-shutdown.py b/test/test-shutdown.py
2aacef
index e181f976be..13e18ecbaa 100755
2aacef
--- a/test/test-shutdown.py
2aacef
+++ b/test/test-shutdown.py
2aacef
@@ -17,7 +17,7 @@ def run(args):
2aacef
     logger.info("spawning test")
2aacef
     console = pexpect.spawn(args.command, args.arg, env={
2aacef
             "TERM": "linux",
2aacef
-        }, encoding='utf-8', timeout=30)
2aacef
+        }, encoding='utf-8', timeout=60)
2aacef
 
2aacef
     if args.verbose:
2aacef
         console.logfile = sys.stdout