about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2019-03-23 06:17:58 +0000
committerGitHub <noreply@github.com>2019-03-23 06:17:58 +0000
commit94864bbd37495d845210433ff0fbf707b2fc90dd (patch)
tree9db35e0e68e5e0f20329699cbfa66e671d145ab8 /nixos
parent96e305b96811a41039a54379b738fdbed2f33bcd (diff)
parent62ea707e31329b0b38fe9f89a8910d07603df655 (diff)
downloadnixlib-94864bbd37495d845210433ff0fbf707b2fc90dd.tar
nixlib-94864bbd37495d845210433ff0fbf707b2fc90dd.tar.gz
nixlib-94864bbd37495d845210433ff0fbf707b2fc90dd.tar.bz2
nixlib-94864bbd37495d845210433ff0fbf707b2fc90dd.tar.lz
nixlib-94864bbd37495d845210433ff0fbf707b2fc90dd.tar.xz
nixlib-94864bbd37495d845210433ff0fbf707b2fc90dd.tar.zst
nixlib-94864bbd37495d845210433ff0fbf707b2fc90dd.zip
Merge pull request #57133 from markuskowa/upd-slurm
slurm: 18.08.5.2 -> 18.08.6.2
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/slurm.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix
index b4458d8d0954..720c36d472e1 100644
--- a/nixos/tests/slurm.nix
+++ b/nixos/tests/slurm.nix
@@ -108,6 +108,8 @@ in {
   # cluster in the database before slurmctld is restarted
   subtest "add_account", sub {
     $control->succeed("sacctmgr -i add cluster default");
+    # check for cluster entry
+    $control->succeed("sacctmgr list cluster | awk '{ print \$1 }' | grep default");
   };
 
   subtest "can_start_slurmctld", sub {
@@ -133,6 +135,7 @@ in {
 
   subtest "check_slurm_dbd", sub {
     # find the srun job from above in the database
+    sleep 2;
     $submit->succeed("sacct | grep hostname");
   };
   '';