hazelcast / hazelcast/hazelcast-python-client

Flaky test: :SemaphoreTest::test_acquire_blocks_until_someone_releases on Windows

Open Beginner friendly
#839 0 comments 0 reactions 0 assignees View on GitHub
Type: Test-Failure
Dominant language
Python
Stars
116
Forks
78
Avg merge
10d 22h
Merged PRs (30d)
1

Description

`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

Contributor guide

Open the contributing guide

Research direction

Start with tests/integration/asyncio/proxy/semaphore_test.py::SemaphoreTest::test_acquire_blocks_until_someone_releases and reproduce the failure on Windows with Python 3.11. Review the linked Actions log and adjust the test so its timing assertion is reliable; done means the test passes consistently on the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.