summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-03-09 13:27:57 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-03-09 13:27:57 +0100
commit72f6d0e556d29b695369493a909562ff1325f8cd (patch)
tree1fed5665f61dfdd50df7ff2383310494eebef3c3 /test
parent15eda898af77bd3f5ec743497b72e86f3fadc5af (diff)
downloadsystemd-72f6d0e556d29b695369493a909562ff1325f8cd.tar.gz
test: bump the D-Bus related timeouts to 120s
Let's attempt to reduce the amount of flakes further when the AWS region we run in is under heavy load and the hypervisor stars stealing our CPU time. Follow-up to e0cbb73911 and c78d18215b.
Diffstat (limited to 'test')
-rw-r--r--test/test-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-functions b/test/test-functions
index d60a9bfedd..252aea57a1 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -1940,12 +1940,12 @@ EOF
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
- <limit name="service_start_timeout">60000</limit>
+ <limit name="service_start_timeout">120000</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"
+ echo -e '[Manager]\nDefaultEnvironment=SYSTEMD_BUS_TIMEOUT=120' >"$initdir/etc/systemd/system.conf.d/bus-timeout.conf"
fi
}