Skip Menu |

This queue is for tickets about the File-Find-Rule-BOM CPAN distribution.

Report information
The Basics
Id: 131997
Status: resolved
Priority: 0/
Queue: File-Find-Rule-BOM

People
Owner: SKIM [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: 0.02



Subject: Failed test 'Get files with BOM in data directory.'
Sometimes, possibly randomly, the test suite fails like this: ... # Failed test 'Get files with BOM in data directory.' # at t/File-Find-Rule-BOM/03-bom.t line 15. # Structures begin differing at: # $got->[0] = 'UTF_32_bom' # $expected->[0] = 'UTF_16_bom' # Looks like you failed 1 test of 2. t/File-Find-Rule-BOM/03-bom.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests ... Or sometimes another difference is reported: ... # Failed test 'Get files with BOM in data directory.' # at t/File-Find-Rule-BOM/03-bom.t line 15. # Structures begin differing at: # $got->[0] = 'UTF_8_bom' # $expected->[0] = 'UTF_16_bom' # Looks like you failed 1 test of 2. t/File-Find-Rule-BOM/03-bom.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests ... Maybe hash randomization is involved here? Or random directory scans?
Dne Čt 27.úno.2020 16:31:17, SREZIC napsal(a): Hi Slaven, Show quoted text
> Sometimes, possibly randomly, the test suite fails like this:
Thanks for report. I added sort to this test, i will see. Kind regards, Michal Josef Spacek
Dne Čt 27.úno.2020 16:45:30, SKIM napsal(a): Show quoted text
> I added sort to this test, i will see.
Seems fixed. M.