AdguardTeam / AdguardTeam/AdGuardHome

Figure out the source of the occasional fsnotify test failures

オープン
#3,432 コメント 0 件 リアクション 0 件 担当者 1 名 @EugeneOne1 が担当を希望しています GitHub で見る
enhancement P4: Low
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

Every once in a while, there are test failures in the `aghnet` package, most of which are linked in one way or another to the `github.com/fsnotify/fsnotify` module. These failures are annoying, and we should investigate, why they happen and how can we prevent them. Perhaps there is a kind of filesystem race condition there?

An example of such failure:

```none
=== RUN TestEtcHostsContainerFSNotify
=== RUN TestEtcHostsContainerFSNotify/unknown_host
=== RUN TestEtcHostsContainerFSNotify/notified
etchostscontainer_test.go:126:
Error Trace: etchostscontainer_test.go:126
Error: Expected value not to be nil.
Test: TestEtcHostsContainerFSNotify/notified
etchostscontainer_test.go:127:
Error Trace: etchostscontainer_test.go:127
Error: "[]" should have 1 item(s), but has 0
Test: TestEtcHostsContainerFSNotify/notified
--- FAIL: TestEtcHostsContainerFSNotify (0.19s)
--- PASS: TestEtcHostsContainerFSNotify/unknown_host (0.00s)
--- FAIL: TestEtcHostsContainerFSNotify/notified (0.00s)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。