From fcde30593247765ba9bd063320e5d073ae4b5441 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Wed, 5 Jun 2019 14:14:46 +0200 Subject: [PATCH] nixos/slurm: fix test The entry slurmdbd seems to be delayed. Increasing the waiting time make the test more reliable. --- nixos/tests/slurm.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix index 720c36d472e..4c2cd3c3d26 100644 --- a/nixos/tests/slurm.nix +++ b/nixos/tests/slurm.nix @@ -135,8 +135,8 @@ in { subtest "check_slurm_dbd", sub { # find the srun job from above in the database - sleep 2; - $submit->succeed("sacct | grep hostname"); + sleep 5; + $control->succeed("sacct | grep hostname"); }; ''; })