Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

tests: test_xpay_fake_channeld is skipped rather than xfail

未关闭
#9,376 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@Lagrang3 已经在做这个了。

开始于 2026年8月4日。

评估

这个 Issue 还没有评估数据。

描述

Follow-up from #9150.

test_xpay_fake_channeld is marked @pytest.mark.skip(reason="channeld_fakenet needs updating"). A plain skip stays silent once the underlying problem is fixed, so the test will sit disabled indefinitely.

Two things:

  1. Use @pytest.mark.xfail(strict=True) so it fails loudly when it starts passing.
  2. Reference #9282 in the reason. The test currently fails for at least two reasons: channeld_fakenet simulates fixed per-channel liquidity, which is incompatible with the impressions model added in #9150, and updating the daemon to move liquidity exposes the older xpay bug in #9282.

Related: the same PR added an askrene_age('xpay', 1) call inside the test loop as a workaround for impression buildup, see #9375.

主要语言
C
星标
3.1k
派生
1k
平均合并
4 天 2 小时
30 天内合并 PR
45

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

ElementsProject/lightning 的其他 Issue

查看 ElementsProject/lightning 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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