Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
Signed-off-by: Ignasi Barrera <ignasi@tetrate.io>
  • Loading branch information
nacx committed Feb 19, 2025
1 parent ffff191 commit 3d0b367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/extproc/watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ rules:
require.NoError(t, os.WriteFile(path, []byte(cfg), 0o600))

// Initial loading should have happened.
require.EventuallyWithT(t, func(c *assert.CollectT) {
assert.NotEqual(c, defaultCfg, rcv.getConfig())
require.Eventually(t, func() bool {
return rcv.getConfig() != defaultCfg
}, 1*time.Second, 100*time.Millisecond)
firstCfg := rcv.getConfig()
require.NotNil(t, firstCfg)
Expand Down

0 comments on commit 3d0b367

Please sign in to comment.