Commit graph

13 commits

Author SHA1 Message Date
Joachim Bauch
98a8465e12
Move Goroutines helpers to test package. 2026-01-08 10:23:59 +01:00
Joachim Bauch
62587796ce
Move logging code to separate package. 2025-12-09 15:26:47 +01:00
Joachim Bauch
6f35e021f9
Use "t.Chdir" to directory is restored after test. 2025-12-09 10:55:12 +01:00
Joachim Bauch
b86d05de08
Allow running file watcher tests to run in parallel. 2025-12-05 12:15:26 +01:00
Joachim Bauch
4986122493
Run tests in parallel where possible. 2025-12-05 11:09:01 +01:00
Joachim Bauch
6ca41dee61
Don't use global logger. 2025-11-20 09:42:40 +01:00
Joachim Bauch
bdb2a816f8
Handle case where watched file is in a symlinked versioned subfolder.
This is what k8s is doing for mounted Secrets / ConfigMaps.
2025-07-16 16:50:47 +02:00
Joachim Bauch
7b909f4ec6
Avoid duplicate wakeups if file in current folder is watched and modified. 2025-07-16 16:14:45 +02:00
Joachim Bauch
03cad99b8d
Switch to "github.com/stretchr/testify" for tests. 2024-09-03 13:50:52 +02:00
Joachim Bauch
b77525603c
Enable goroutine leak checks for more tests. 2024-04-23 10:53:55 +02:00
Joachim Bauch
d0c711b500
Improve detecting renames in file watcher. 2024-04-04 09:47:59 +02:00
Joachim Bauch
2ef9b39959
Update tests to wait for certificate / pool reload to happen before continuing. 2024-04-03 09:41:38 +02:00
Joachim Bauch
c325fbeae6
Add file watcher class. 2024-04-02 17:18:52 +02:00