From bff3189a84b9fbb4df36f2feb7c7738183650f7c Mon Sep 17 00:00:00 2001 From: Oliver Liu Date: Sun, 26 Jan 2020 15:08:25 -0800 Subject: [PATCH] Small fix. --- security/pkg/nodeagent/sds/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/pkg/nodeagent/sds/server_test.go b/security/pkg/nodeagent/sds/server_test.go index b9d98c1c170c..24372162ee94 100644 --- a/security/pkg/nodeagent/sds/server_test.go +++ b/security/pkg/nodeagent/sds/server_test.go @@ -176,7 +176,7 @@ func createRealSDSServer(t *testing.T, socket string) *Server { workloadSdsCacheOptions.Pkcs8Keys = false workloadSdsCacheOptions.Plugins = NewPlugins([]string{"GoogleTokenExchange"}) workloadSdsCacheOptions.RotationInterval = 10 * time.Minute - workloadSdsCacheOptions.InitialBackoff = 10 + workloadSdsCacheOptions.InitialBackoffInMilliSec = 10 workloadSecretCache := cache.NewSecretCache(wSecretFetcher, NotifyProxy, *workloadSdsCacheOptions) server, err := NewServer(arg, workloadSecretCache, nil)