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:
Markus Kowalewski 2018-12-09 13:36:53 +01:00
parent 0ed4fc606a
commit 8eee1ec2a9
No known key found for this signature in database
GPG key ID: D865C8A91D7025EB

View file

@ -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