https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38944

--- Comment #22 from David Nind <[email protected]> ---
Hi Jonathan.

These are the only tests that are failing now if I run all the tests at once.

Some of the previous errors were because I had a folder with kidclamp's handy
Koha scripts.

Test Summary Report
-------------------
t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t                 
(Wstat: 2816 (exited 11) Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 5 tests but ran 3.
t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t                  
(Wstat: 65280 (exited 255) Tests: 4 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 14 tests but ran 4.
xt/verify-yarnlock.t                                                     
(Wstat: 256 (exited 1) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/00-testcritic.t                                                        
(Wstat: 0 Tests: 3245 Failed: 1)
  Failed test:  3245
  Parse errors: Plan (1..3244) must be at the beginning or end of the TAP
output
                Bad plan.  You planned 3244 tests but ran 3245.
Files=733, Tests=18914, 2958.36 wallclock secs ( 5.49 usr  1.96 sys + 3076.34
cusr 577.41 csys = 3661.20 CPU)
Result: FAIL

1. Elasticsearch tests
======================

Both the tests fail for me when I run all the tests after applying the patches,
etc.

However, after the patches are applied, if I shutdown and restart KTD (and then
add the module), the tests pass when I run them individually.

2. xt/verify-yarnlock.t
=======================

Fails for me before and after the patches. Lots of warnings and errors.

If I do a yarn install and yarn build, then run the test individually, it
passes.

.....
warning
"arraybuffer.prototype.slice#function.prototype.name#call-bind#get-intrinsic##has-symbols@^1.0.1"
could be deduped from "1.0.3" to "[email protected]"
warning
"string.prototype.trim#function.prototype.name#call-bind#get-intrinsic##function-bind@^1.1.1"
could be deduped from "1.1.1" to "[email protected]"
warning
"string.prototype.trim#function.prototype.name#call-bind#get-intrinsic##has@^1.0.3"
could be deduped from "1.0.3" to "[email protected]"
warning
"string.prototype.trim#function.prototype.name#call-bind#get-intrinsic##has-symbols@^1.0.1"
could be deduped from "1.0.3" to "[email protected]"
error Found 54 errors.
xt/verify-yarnlock.t .. 1/1 
#   Failed test 'verify yarn.lock file is updated correctly'
#   at xt/verify-yarnlock.t line 45.
#          got: '256'
#     expected: '0'
# Looks like you failed 1 test of 1.
xt/verify-yarnlock.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Test Summary Report
-------------------
xt/verify-yarnlock.t (Wstat: 256 (exited 1) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  3 wallclock secs ( 0.04 usr  0.02 sys +  2.94 cusr  1.13
csys =  4.13 CPU)
Result: FAIL

3. t/00-testcritic.t
====================

Fails for me before and after the patches.

prove t/00-testcritic.t 
t/00-testcritic.t .. All 3244 subtests passed 

Test Summary Report
-------------------
t/00-testcritic.t (Wstat: 0 Tests: 3245 Failed: 1)
  Failed test:  3245
  Parse errors: Plan (1..3244) must be at the beginning or end of the TAP
output
                Bad plan.  You planned 3244 tests but ran 3245.
Files=1, Tests=3245, 30 wallclock secs ( 0.71 usr  0.04 sys + 224.51 cusr  1.36
csys = 226.62 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to