Skip to content

Unit tests are failing if IPv6 is not configured #23798

@wfurt

Description

@wfurt

I bump to this while running test on FreeBSD, however this issue is not OS specific.
Some tests make silent assumption about IPv6 and they fail if system is not configured to meet that.
This is unpleasant for anybody from community to run tests and get good pass.

The easy repro for Linux is:
sysctl -w net.ipv6.conf.all.disable_ipv6=1
./build-tests.sh

The expected behavior would be that tests needing IPv6 would be skipped.
Right now, some tests even hang for very long time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Nethelp wanted[up-for-grabs] Good issue for external contributorstest-bugProblem in test source code (most likely)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions