Bug 9907 - Plugins test dies early on some servers
Summary: Plugins test dies early on some servers
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low blocker
Assignee: Kyle M Hall
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 20:57 UTC by Jared Camins-Esakov
Modified: 2019-06-27 09:24 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 9907 - Plugins test dies early on some servers (2.85 KB, patch)
2013-03-22 21:31 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review
Bug 9907 - Plugins test dies early on some servers (4.39 KB, patch)
2013-03-22 21:48 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Camins-Esakov 2013-03-22 20:57:00 UTC
When run with the two lines relating to plugins deleted or on the jenkins CI server, the plugins test dies after test 16, having failed test 13:
jcamins@kohadev:~/kohaclone$ perl t/db_dependent/Plugins.t                                                                                                               
1..20
ok 1 - use Koha::Plugins;
ok 2 - use Koha::Plugins::Handler;
ok 3 - use Koha::Plugins::Base;
ok 4 - use Koha::Plugin::Test;
ok 5 - Test can_load
ok 6 - Test plugin class isa Koha::Plugin::Test
ok 7 - Test plugin parent class isa Koha::Plugins::Base
ok 8 - Test plugin can report
ok 9 - Test plugin can tool
ok 10 - Test plugin can configure
ok 11 - Test plugin can install
ok 12 - Test plugin can install
Use of uninitialized value in string eq at t/db_dependent/Plugins.t line 36.
not ok 13 - Test run plugin report method
#   Failed test 'Test run plugin report method'
#   at t/db_dependent/Plugins.t line 36.
ok 14 - Test $plugin->get_metadata()
ok 15 - Test $plugin->get_qualified_table_name()
ok 16 - Test $plugin->get_plugin_http_path()
Can't call method "GetPlugins" on an undefined value at t/db_dependent/Plugins.t line 44.
# Looks like you planned 20 tests but ran 16.
# Looks like you failed 1 test of 16 run.
# Looks like your test exited with 255 just after 16.
Comment 1 Kyle M Hall (khall) 2013-03-22 21:31:23 UTC Comment hidden (obsolete)
Comment 2 Kyle M Hall (khall) 2013-03-22 21:48:43 UTC
Created attachment 16820 [details] [review]
Bug 9907 - Plugins test dies early on some servers
Comment 3 Jared Camins-Esakov 2013-03-22 21:52:14 UTC
This patch has been pushed to master.