]> git.koha-community.org Git - koha.git/commit
Bug 12782: (followup) skip tests that fail because of provider's error
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 18 Aug 2014 20:20:24 +0000 (17:20 -0300)
committerMason James <mtj@kohaaloha.com>
Tue, 3 Mar 2015 14:11:50 +0000 (03:11 +1300)
commit78c841a164f6fe9b2f82f0a73dccc70fc0fbedc8
treeb6b93ce3195bd6a64ca6de43cfcd4f940aa4dece
parentd60c07e85c7e6a9043055b17dd3a3e10ebf012c9
Bug 12782: (followup) skip tests that fail because of provider's error

It seems that XISBN is failing sometimes, if you run the tests a couple
of times in a row. An error 500 is raised by lwp.

This problem should be trapped and related tests skipped. Because too much
noise could make people pay no attention to this tests failing.

To reproduce:
- Run the tests several consecutive times:
  $ prove -v t/db_dependent/XISBN.t
=> FAIL: XISBN test will fail eventually, printing a networking-related warning.
- Apply the patch
- Repeat the test
=> SUCCESS: when XISBN the networking/connection refused problem arises, the test
  is skipped, and it still passes.

Regards
To+

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
t/db_dependent/XISBN.t