]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: bump the test timeout to give ldconfig.service enough time to finish
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 9 Jul 2021 12:44:38 +0000 (14:44 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 9 Jul 2021 12:47:29 +0000 (14:47 +0200)
Sometimes the ldconfig.service might take a bit longer to finish,
causing spurious test timeouts:

```
[ 1025.858923] systemd[24]: ldconfig.service: Executing: /sbin/ldconfig -X
...
[ 1043.883620] systemd[1]: ldconfig.service: Main process exited, code=exited, status=0/SUCCESS (success)
...
Trying to halt container. Send SIGTERM again to trigger immediate
termination.
Container TEST-52-HONORFIRSTSHUTDOWN terminated by signal KILL.
E: Test timed out after 20s
```

test/TEST-52-HONORFIRSTSHUTDOWN/test.sh

index 41c7e91917c560d25c13dc388190809007e3750e..6b77693346d8176bd60d433d6f17cf2818636ff3 100755 (executable)
@@ -11,7 +11,7 @@ TEST_NO_QEMU=1
 # Using timeout because if the test fails it can loop.
 # The reason is because the poweroff executed by end.service
 # could turn into a reboot if the test fails.
-NSPAWN_TIMEOUT=20
+NSPAWN_TIMEOUT=60
 
 # Remove this file if it exists. This is used along with
 # the make target "finish". Since concrete confirmation is