From 9c398b831eee1ae56da1f4e6e4f937c90247b628 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Nov 2019 17:34:42 +0100 Subject: [PATCH] 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... --- t/db_dependent/Koha/Z3950Responder/GenericSession.t | 2 +- t/db_dependent/Koha/Z3950Responder/ZebraSession.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/Z3950Responder/GenericSession.t b/t/db_dependent/Koha/Z3950Responder/GenericSession.t index 5f0a18d7b1..fd52dde5bc 100644 --- a/t/db_dependent/Koha/Z3950Responder/GenericSession.t +++ b/t/db_dependent/Koha/Z3950Responder/GenericSession.t @@ -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(); diff --git a/t/db_dependent/Koha/Z3950Responder/ZebraSession.t b/t/db_dependent/Koha/Z3950Responder/ZebraSession.t index 8e39b0b0ca..4ba1a60571 100644 --- a/t/db_dependent/Koha/Z3950Responder/ZebraSession.t +++ b/t/db_dependent/Koha/Z3950Responder/ZebraSession.t @@ -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'); -- 2.11.0