]> git.koha-community.org Git - koha.git/commit
Bug 25514: Try to fix random failure from REST/Plugin/Objects.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Nov 2020 10:56:31 +0000 (11:56 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 10 Dec 2020 21:47:05 +0000 (21:47 +0000)
commit49159304220be24efed37715a066abe2cff5cd14
tree583ec2797e4cd554e8cd202301f80edcf30c9dd1
parent7c5d45a454ce97603a3aa0a7c09f00e0d00792fe
Bug 25514: Try to fix random failure from REST/Plugin/Objects.t

It's causing a "Premature connection close" error

https://docs.mojolicious.org/Mojolicious/Guides/FAQ#What-does-Premature-connection-close-mean

This is just a guess but maybe it would help to have the Test::Mojo
object initiated just before the get?

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 926ad3c1a69074b2905d9ef03e639db6ba8d6865)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
t/db_dependent/Koha/REST/Plugin/Objects.t