dotnet/runtime

Unit tests are failing if IPv6 is not configured

Open

#23.798 aberto em 10 de out. de 2017

Ver no GitHub
 (13 comments) (0 reactions) (0 assignees)C# (5.445 forks)batch import
area-System.Nethelp wantedtest-bug

Métricas do repositório

Stars
 (17.886 stars)
Métricas de merge de PR
 (Mesclagem média 12d 11h) (661 fundiu PRs em 30d)

Description

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.

Guia do colaborador