summaryrefslogtreecommitdiffstats
path: root/debian/tests/smoke-tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/smoke-tests')
-rw-r--r--debian/tests/smoke-tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/tests/smoke-tests b/debian/tests/smoke-tests
index 99ae83a..2de85c4 100644
--- a/debian/tests/smoke-tests
+++ b/debian/tests/smoke-tests
@@ -15,6 +15,10 @@ kea_password_file="/etc/kea/kea-api-password"
exit 1
}
+# Arbitrary wait to allow for the services to start.
+# This is needed to avoid having racy/flaky tests.
+sleep 5
+
# Check that the PID files are in the right location
for f in kea-dhcp4.kea-dhcp4.pid kea-dhcp6.kea-dhcp6.pid kea-ctrl-agent.kea-ctrl-agent.pid kea-dhcp-ddns.kea-dhcp-ddns.pid; do
test -f "/run/kea/$f"