elastic / elastic/apm-agent-python
Investigate Python 3.8 windows test failure
- Dominant language
- Python
- Stars
- 431
- Forks
- 239
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 7
Description
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
```
Contributor guide
Research direction
Start with tests/utils/threading_tests.py and the test_interval_timer failure shown in the report, then run that test on Windows with Python 3.8. Trace the IntervalTimer behavior around the 0.1-second interval and the expected two calls. Done means the cause of the platform-specific failure is identified and the test or implementation has a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100