potiuk opened a new pull request, #73051:
URL: https://github.com/apache/airflow/pull/73051
Backport of #72572.
`TestBundleVersionLock::test_that_shared_lock_doesnt_block_shared_lock`
failed
on the `v3-3-test` push run, in
`DB-core:Postgres:15:3.11:Core...Serialization`:
```
airflow-core/tests/unit/dag_processing/bundles/test_base.py:176: in
test_that_shared_lock_doesnt_block_shared_lock
assert lth2.did_lock is True
E assert None is True
```
The test sleeps a fixed 0.1s and then assumes the worker thread has acquired
the lock. Under CI contention the thread can take longer than that just to be
scheduled. `main` replaced the sleeps with `threading.Event` waits bounded
by a
10s timeout; this brings that fix to `v3-3-test`.
Note: static checks on this PR will stay red until #73046 merges — `ruff` and
`ruff-format` are broken branch-wide on `v3-3-test` right now, independently
of
this change.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 5)
Generated-by: Claude Code (Opus 5) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_017fW5PWcphnVD7Sua5LKBQg
--
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]