tektoncd / tektoncd/chains

TestWatchBackend/verify_mongo-server-url-dir/MONGO_SERVER_URL_is_watched is buggy

Open
#1,178 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.