dotnet/runtime

Unit tests are failing if IPv6 is not configured

Open

#23,798 建立於 2017年10月10日

在 GitHub 查看
 (13 留言) (0 反應) (0 負責人)C# (5,445 fork)batch import
area-System.Nethelp wantedtest-bug

倉庫指標

Star
 (17,886 star)
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.

貢獻者指南