MagicStack / MagicStack/uvloop

aiodns tests fail because "example.com" gives different IP address on each query

未关闭
#682 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Cython
星标
11.9k
派生
616
PR 合并指标
30 天内没有已合并 PR

描述

Hi. Title pretty much describes issue.
Couldnt build latest (0.21) uvloop rpm because dns test failed because of IP addresses not match. example.com seems ot be behind CDN, thus there are a lot of IP addresses.
Workaround for me was just add "example.com" entry into hosts, but i decided i should probably create issue on github too.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

定位查询 example.com 的 aiodns 测试,并在用于 uvloop 0.21 RPM 构建的测试环境中复现该失败。检查测试如何比较 DNS 结果,然后在不假设只有一个 CDN 地址的情况下让测试通过;当相关 DNS 测试在重复查询中都能可靠通过时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
networking, testing-qa
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。