Bug 18411: Fix failing search_utf8.t tests
TEST PLAN --------- export KOHA_INTRANET_URL=... prove -v t/db_dependent/www/search_utf8.t something like seen before failure: t/db_dependent/www/search_utf8.t .. 9/66 Error GETing http://koha_16_11:8080/cgi-bin/koha/tools/background-job-progress.pl?jobID=741d649f9d4472fe75f30761ba2488c0: Bad Request at t/db_dependent/www/search_utf8.t line 170. apply this patch prove -v t/db_dependent/www/search_utf8.t Now it is the marc staging that is failing. And that is failing in master for me. So, I don't think it is the test that is a problem at this point, but the actual staged marc records process. Signed-off-by: Lee Jamison <ldjamison@marywood.edu> I'm not sure why you had problems. All 66 tests passed after patch application and the patch also passes QA Tools. I tested this patch on a brand new kohadevbox without issue. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
5e8ea082e6
commit
76db315669
|
|
@ -168,9 +168,8 @@ sub test_search{
|
|||
# if we haven't completed the batch in two minutes, it's not happening
|
||||
for my $counter ( 1 .. 24 ) {
|
||||
$agent->get(
|
||||
"$intranet/cgi-bin/koha/tools/background-job-progress.pl?jobID=$jobID",
|
||||
"get job progress"
|
||||
);
|
||||
"$intranet/cgi-bin/koha/tools/background-job-progress.pl?jobID=$jobID"
|
||||
); # get job progress
|
||||
$jsonresponse = decode_json $agent->content();
|
||||
if ( $jsonresponse->{'job_status'} eq 'completed' ) {
|
||||
$completed = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue