temporalio / temporalio/samples-python

[Bug] Infrequent polling test not properly skipped during time skipping

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

还没有人认领这个 Issue。

bug
主要语言
Python
星标
367
派生
121
平均合并
3 天 20 小时
30 天内合并 PR
11

描述

Describe the bug

#152 added test_infrequent_polling_workflow, but put

    if not env.supports_time_skipping:
        pytest.skip("Too slow to test with time-skipping disabled")

when likely meant

    if env.supports_time_skipping:
        pytest.skip("Too slow to test with time-skipping disabled")

贡献指南

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

从这里开始

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

调研方向

找到由 issue #152 添加的 test_infrequent_polling_workflow 测试,并检查其 supports_time_skipping 守卫。验证 skip 条件是否符合预期的慢速测试行为,然后运行该测试,确认它在适当的环境中被跳过或执行。

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

评估

技术栈
python
领域
testing-qa
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 发到你的邮箱

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