Skip to content

t/uri-constraint.t fails in presence of wildcard DNS records #1

Description

@eserte

On some of my smoker systems the test suite fails like this:

#   Failed test 'Invalid host name fails host check'
#   at t/uri-constraint.t line 86.
# Looks like you failed 1 test of 8.
t/uri-constraint.t ..... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 

Problem is that on these system wildcard DNS records are active and so the seemingly invalid hostname resolves to an existing one. The long story is described here: tokuhirom/Furl#128

Usual fix is to add a . to the invalid host name, so the expansion does not happen (untested in your case).

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