elastic / elastic/apm-agent-python
Investigate Python 3.8 windows test failure
- 主要语言
- Python
- 星标
- 431
- 派生
- 239
- 平均合并
- 5 天 10 小时
- 30 天内合并 PR
- 7
描述
This was from unrelated code change:
```
_____________________________ test_interval_timer _____________________________
def test_interval_timer():
func = mock.Mock()
timer = IntervalTimer(function=func, interval=0.1, args=(1,), kwargs={"a": "b"})
timer.start()
time.sleep(0.25)
try:
> assert func.call_count == 2
E AssertionError: assert 1 == 2
E + where 1 = .call_count
tests\utils\threading_tests.py:46: AssertionError
```
贡献指南
调研方向
从 tests/utils/threading_tests.py 和报告中显示的 test_interval_timer 失败开始,然后在 Windows 上使用 Python 3.8 运行该测试。跟踪 IntervalTimer 在 0.1 秒间隔和预期两次调用附近的行为。完成的标准是确定平台特定失败的原因,并验证测试或实现的解决方案。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- testing-qa
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100