Skip to content

Failed test 'file too large' #1

@eserte

Description

@eserte

The test suite started to fail on all of my smoker systems:

PERL_DL_NONLAZY=1 "/usr/perl5.28.1Dp/bin/perl5.28.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/fetch_image.t
# these tests will fail without an active internet connection, that's not my fault!

#   Failed test 'file too large'
#   at t/fetch_image.t line 26.
# expecting: Regexp ((?^:filesize exceeded))
# found: Exception::Simple (invalid content-type)
# Looks like you failed 1 test of 13.
t/fetch_image.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests 

The test resources still seem to exist, but the content-type of http://i.zdnet.com/blogs/nasa-small.bmp is image/x-ms-bmp, which is not expected by the module, it seems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions