forked from mirrors/nixpkgs
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 a new issue