From 917a1f55740aa677891e977f0889b453cd5249fd Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 2 Jun 2019 21:15:24 -0700 Subject: [PATCH 1/2] slurm: 18.08.7.1 -> 19.05.0.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/slurm/versions --- pkgs/servers/computing/slurm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/computing/slurm/default.nix b/pkgs/servers/computing/slurm/default.nix index 477f340e067..b1233b76464 100644 --- a/pkgs/servers/computing/slurm/default.nix +++ b/pkgs/servers/computing/slurm/default.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { name = "slurm-${version}"; - version = "18.08.7.1"; + version = "19.05.0.1"; # N.B. We use github release tags instead of https://www.schedmd.com/downloads.php # because the latter does not keep older releases. @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { repo = "slurm"; # The release tags use - instead of . rev = "${builtins.replaceStrings ["."] ["-"] name}"; - sha256 = "13asdirygkp0mmi2da0094c9h180nl7nb7nkj4j9d842xzw21454"; + sha256 = "0cc1lac7x00s1zz8p9sbaj6zg4yf4ngr0ldszhpxpvykhx9wzfay"; }; outputs = [ "out" "dev" ]; From fcde30593247765ba9bd063320e5d073ae4b5441 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Wed, 5 Jun 2019 14:14:46 +0200 Subject: [PATCH 2/2] 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"); }; ''; })