sumedhsakdeo opened a new pull request, #3047: URL: https://github.com/apache/iceberg-python/pull/3047
## Summary - Fix flaky `test_hive_wait_for_lock` test by using `reset_mock()` instead of manually setting `call_count = 0` - Setting `mock.call_count = 0` does not reset the mock's internal call tracking, causing the second assertion to see accumulated calls from both test phases (expected 5, got 8) ## Test plan - [ ] Verify `test_hive_wait_for_lock` passes consistently across all Python versions in CI 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
