Bug 24022: Try to fix 'connect failed'

I am assuming that the tests fail on Jenkins's nodes because they are
too slow. The server is not setup yet when we are trying to access it.
Just a guess...

Note that sleep is usually a bad idea...

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2019-11-12 17:34:42 +01:00 committed by Martin Renvoize
parent 37bc254581
commit 9e6fe7ac38
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ subtest 'test_search' => sub {
$z->start();
exit;
}
sleep(1);
sleep(10); # Just a try to see if it fixes Jenkins
# Z39.50 protocol tests
my $o = new ZOOM::Options();

View file

@ -88,7 +88,7 @@ subtest 'test_search' => sub {
$z->start();
exit;
}
sleep(1);
sleep(10); # Just a try to see if it fixes Jenkins
my $o = new ZOOM::Options();
$o->option(preferredRecordSyntax => 'xml');