tests: Bypass cache TTL in test_currencyrate.py
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 test_currencyrate.py 开始,追踪缓存设置和基于 TTL 的等待。添加所请求的按需绕过或清理缓存的标志,然后运行货币汇率测试,并确认它们不再依赖等待大约四分钟来让 TTL 过期。
由索引模型根据 Issue 内容生成。
描述
This test relies on a cache's TTL expiring and it takes a total of around 4 minutes to complete. I propose we add a flag that bypasses/cleans the cache on-demand so the tests complete faster.
- 主要语言
- C
- 星标
- 3.1k
- 派生
- 1k
- 平均合并
- 4 天 13 小时
- 30 天内合并 PR
- 29
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ElementsProject/lightning 的其他 Issue
-
test_announce_and_connect_via_dns binds a fixed port that other tests' nodes can be handed可能已有人在做 @ksedgwic 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
ElementsProject/lightning#9642 ·
维护者通常 2 天内回复
-
test_splice_rbf_htlc_sigs reads htlc_sigs before the splice lock-in commits可能已有人在做 @ksedgwic 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
ElementsProject/lightning#9640 ·
维护者通常 2 天内回复
-
expired keys in contrib/keys: niftynei, ngoline可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
ElementsProject/lightning#9634 ·
维护者通常 2 天内回复
-
plugins/recover: missing comma in nodes_for_gossip concatenates two bootstrap addresses into invalid address可能已有人在做 @bhuvan-somisetty 于 7 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
ElementsProject/lightning#9630 ·
维护者通常 2 天内回复
-
common/json_parse: json_to_bitcoin_amount fails to detect overflow and accepts negative/empty inputs可能已有人在做 @bhuvan-somisetty 于 12 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
ElementsProject/lightning#9617 ·
维护者通常 2 天内回复
查看 ElementsProject/lightning 的全部 Issue
相似的 Issue
-
TLS: a stale OpenSSL error makes non-blocking reads fail with "Resource temporarily unavailable"未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 84/100
bigtreetech/BIGTREETECH-TouchScreenFirmware#3056 ·
维护者通常 1 天内回复
-
Allow pillow 13未关闭
难度 2/5 1-3 小时 新手友好度 78/100
-
[pico][astrocade] emu/apply.sh edits src/mame/midway/astrohome.cpp, which current MAME has in bally/未关闭
难度 2/5 1-3 小时 新手友好度 83/100
FujiNetWIFI/fujinet-firmware#2120 ·
维护者通常 1 天内回复