Skip to content

Flapping tests #1

Description

@AlexDaniel

When running the tests in a loop like this:

while PERL6LIB=lib/ prove --exec=perl6 t/*.t; do :; done

Sometimes I get this output:

t/00-meta.t ............ ok   
t/01-basics.t .......... ok   
t/02-async.t ........... ok   
t/03-expiry.t .......... 1/12 # Failed test 'pausing between gets evicts the older entries'
# at t/03-expiry.t line 90
# expected: 'ABCDBA'
#      got: 'ABCDCBA'
# Looks like you failed 1 test of 12
t/03-expiry.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests 
t/04-exceptions.t ...... ok   
t/05-monitoring.t ...... ok     
t/06-slurpies.t ........ ok   
t/07-async-producer.t .. ok   
t/08-refreshing.t ...... ok     

Test Summary Report
-------------------
t/03-expiry.t        (Wstat: 256 Tests: 12 Failed: 1)
  Failed test:  12
  Non-zero exit status: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions