tests: test_xpay_fake_channeld is skipped rather than xfail
维护者通常 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:
- Use
@pytest.mark.xfail(strict=True)so it fails loudly when it starts passing. - 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 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ElementsProject/lightning 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/lightning#9593 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9322 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9206 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9187 · 1 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
QA
难度 1/5 1 小时以内 新手友好度 88/100
ElementsProject/lightning#9117 · 2 条评论 ·
维护者通常 2 天内回复
查看 ElementsProject/lightning 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
backend
难度 2/5 1-3 小时 新手友好度 68/100
BasedHardware/omi#20940 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
kovidgoyal/kitty#10625 ·
维护者通常 1 天内回复
-
Feature Status: Needs Triage
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复