mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
tests/slurm: wait for open DBD port
This makes tests more reliable. It seems that waitForUnit(slurmdbd.service) is not sufficient on some systems.
This commit is contained in:
parent
0ed4fc606a
commit
8eee1ec2a9
@ -101,6 +101,7 @@ in {
|
||||
subtest "can_start_slurmdbd", sub {
|
||||
$dbd->succeed("systemctl restart slurmdbd");
|
||||
$dbd->waitForUnit("slurmdbd.service");
|
||||
$dbd->waitForOpenPort(6819);
|
||||
};
|
||||
|
||||
# there needs to be an entry for the current
|
||||
|
Loading…
Reference in New Issue
Block a user