From 8b7cfd6f90e80588cb09f9db073695e1fe90f7c6 Mon Sep 17 00:00:00 2001 From: Changlei Li Date: Wed, 6 Nov 2024 16:41:11 +0800 Subject: [PATCH] CA-401498: Fix test_systemd occasional timeout CI check "Run OCaml tests" on github failed occasionally. The cause is test_systemd timeout. Add sleep 1 between server start and client to fix it. Signed-off-by: Changlei Li --- ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/test/test_systemd.t | 1 + 1 file changed, 1 insertion(+) diff --git a/ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/test/test_systemd.t b/ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/test/test_systemd.t index bfa73c84c6..e3b19dbaff 100644 --- a/ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/test/test_systemd.t +++ b/ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/test/test_systemd.t @@ -10,6 +10,7 @@ $ ./test_systemd.exe --server & @systemd.socket READY=1 + $ sleep 1 $ ./test_systemd.exe --notify $ wait