aboutsummaryrefslogtreecommitdiff
path: root/nixos/tests/slurm.nix
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@fysik.su.se>2019-06-05 14:14:46 +0200
committerMarkus Kowalewski <markus.kowalewski@fysik.su.se>2019-06-05 14:14:46 +0200
commitfcde30593247765ba9bd063320e5d073ae4b5441 (patch)
tree632f07f8d03167721fe8120264544a8432603307 /nixos/tests/slurm.nix
parent917a1f55740aa677891e977f0889b453cd5249fd (diff)
nixos/slurm: fix test
The entry slurmdbd seems to be delayed. Increasing the waiting time make the test more reliable.
Diffstat (limited to 'nixos/tests/slurm.nix')
-rw-r--r--nixos/tests/slurm.nix4
1 files 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");
};
'';
})