Attempt to fix a unit test that always failed on my laptop

Try to make the GCP plugin config less sensitive to the setup of the
computer on which it runs.
This commit is contained in:
Ryan Richard 2021-11-23 15:47:19 -08:00
parent 5a1de2f54c
commit e44540043d

View File

@ -979,6 +979,9 @@ func TestUnwrap(t *testing.T) {
gcpClient := makeClient(t, restConfig, func(config *rest.Config) {
config.AuthProvider = &clientcmdapi.AuthProviderConfig{
Name: "gcp",
Config: map[string]string{
"cmd-path": `echo {"access_token":"fake","token_expiry":"2200-01-02T15:04:05.999999999Z07:00"}`,
},
}
})