mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
Merge pull request #26164 from mrc0mmand/test-bus-timeout
test: bump the client-side timeout in sd-bus as well
This commit is contained in:
commit
b0c110967b
@ -1943,6 +1943,9 @@ EOF
|
||||
<limit name="service_start_timeout">60000</limit>
|
||||
</busconfig>
|
||||
EOF
|
||||
# Bump the client-side timeout in sd-bus as well
|
||||
mkdir -p "$initdir/etc/systemd/system.conf.d"
|
||||
echo -e '[Manager]\nDefaultEnvironment=SYSTEMD_BUS_TIMEOUT=60' >"$initdir/etc/systemd/system.conf.d/bus-timeout.conf"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ def run(args):
|
||||
logger.info("spawning test")
|
||||
console = pexpect.spawn(args.command, args.arg, env={
|
||||
"TERM": "linux",
|
||||
}, encoding='utf-8', timeout=30)
|
||||
}, encoding='utf-8', timeout=60)
|
||||
|
||||
if args.verbose:
|
||||
console.logfile = sys.stdout
|
||||
|
Loading…
Reference in New Issue
Block a user