diff --git a/CHANGELOG.md b/CHANGELOG.md index 66a9ecd2..78c5a720 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.5.0] - 2024-02-16 + ### Added - Add env.WithNameSplitter/flag.WithNameSplitter/pflag.WithNameSplitter to split the name of the flag/env (#110). diff --git a/provider/file/watch_test.go b/provider/file/watch_test.go index ffb304da..539ba95d 100644 --- a/provider/file/watch_test.go +++ b/provider/file/watch_test.go @@ -59,10 +59,10 @@ func TestFile_Watch(t *testing.T) { assert.NoError(t, err) }() <-started - time.Sleep(10 * time.Millisecond) // wait for the watcher to start + time.Sleep(100 * time.Millisecond) // wait for the watcher to start assert.NoError(t, testcase.action(tmpFile)) - time.Sleep(10 * time.Millisecond) // wait for the watcher to pick up the change from action + time.Sleep(time.Second) // wait for the watcher to pick up the change from action assert.Equal(t, testcase.expected, *values.Load()) }) }