# Fix latent race conditions in extension test \(\#54167\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e454844a24a2623eecc336d30f2c107cd02dacf1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e454844a24a2623eecc336d30f2c107cd02dacf1

Requested commit: e454844a24a2623eecc336d30f2c107cd02dacf1

Commit: e454844a24a2623eecc336d30f2c107cd02dacf1

Tree: 3df068258536856833c54099a73d2f6630f7e47e

Author: Ben Kunkle

Committer: GitHub

## Message

```
Fix latent race conditions in extension test (#54167)

Hit a flake in this test in
https://github.com/zed-industries/zed/actions/runs/24555985980/job/71792549618.
Ran for 1000 iterations and hit a second race, now also hopefully fixed.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

- [4b1a4563a5bf33a28f4647788758db5e3f4cf30c](https://git.cafe/gitcafe/zed/commit/4b1a4563a5bf33a28f4647788758db5e3f4cf30c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e454844a24a2623eecc336d30f2c107cd02dacf1?format=markdown)
