Skip to content

Commit

Permalink
rm-disable-compression: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maelvls committed Nov 22, 2024
1 parent 537c1e6 commit 4a8bccd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/agent/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,11 @@ func Test_ValidateAndCombineConfig(t *testing.T) {
`)),
withCmdLineFlags("--disable-compression", "--credentials-file", path, "--install-namespace", "venafi"))
require.NoError(t, err)

// The log line printed by pflag is not captured by the log recorder.
assert.Equal(t, testutil.Undent(`
INFO Using the Jetstack Secure OAuth auth mode since --credentials-file was specified without --venafi-cloud.
INFO Using period from config period="1h0m0s"
INFO The flag --disable-compression has been deprecated an no longer has any effect.
`), b.String())
})

Expand Down

0 comments on commit 4a8bccd

Please sign in to comment.