Flaky test: :SemaphoreTest::test_acquire_blocks_until_someone_releases on Windows

未关闭 适合新手
#839 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
testing

调研方向

从 tests/integration/asyncio/proxy/semaphore_test.py::SemaphoreTest::test_acquire_blocks_until_someone_releases 开始,并在使用 Python 3.11 的 Windows 上重现该失败。检查链接的 Actions 日志,并调整测试,使其时序断言可靠;完成的标准是该测试在所报告的环境中始终通过。

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

描述

Type: Test-Failure

tests/integration/asyncio/proxy/semaphore_test.py::SemaphoreTest::test_acquire_blocks_until_someone_releases failed on Windows with Python 3.11:

tests/integration/asyncio/proxy/semaphore_test.py::SemaphoreTest::test_acquire_blocks_until_someone_releases - AssertionError: 0.9850000000000136 not greater than or equal to 1

Log: https://github.com/hazelcast/hazelcast-python-client/actions/runs/33864191148/job/100995206826?pr=837#logs

主要语言
Python
星标
115
派生
78
平均合并
2 天 23 小时
30 天内合并 PR
2

环境准备

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

从这里开始

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

hazelcast/hazelcast-python-client 的其他 Issue

查看 hazelcast/hazelcast-python-client 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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