TestWatchBackend/verify_mongo-server-url-dir/MONGO_SERVER_URL_is_watched is buggy
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 277
- Forks
- 164
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 61
Description
The test TestWatchBackend/verify_mongo-server-url-dir/MONGO_SERVER_URL_is_watched sometimes fails. This is likely because the fsnotify handler is not executed within the expected time.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TestWatchBackend/verify_mongo-server-url-dir/MONGO_SERVER_URL_is_watched test and trace how its fsnotify handler is triggered and awaited. Reproduce the intermittent failure, then make the test reliably wait for the handler; done means the test passes consistently without depending on timing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100