dotnet/runtime

Unit tests are failing if IPv6 is not configured

开放

#23,798 创建于 2017年10月10日

 (13 条评论) (0 个反应) (0 位负责人)C# (5,445 个派生)batch import
area-System.Nethelp wantedtest-bug

仓库指标

星标
 (17,886 个星标)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

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.

贡献者指南