Skip to content

Commit

Permalink
shorten keyvault names
Browse files Browse the repository at this point in the history
  • Loading branch information
frodopwns committed Apr 8, 2020
1 parent 5d6d980 commit 40a5e1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controllers/keyvault_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestKeyvaultControllerHappyPath(t *testing.T) {
ctx := context.Background()
assert := assert.New(t)

keyVaultName := GenerateTestResourceNameWithRandom("kv", 10)
keyVaultName := GenerateTestResourceNameWithRandom("kv", 6)
const poll = time.Second * 10

keyVaultLocation := tc.resourceGroupLocation
Expand Down Expand Up @@ -72,7 +72,7 @@ func TestKeyvaultControllerWithAccessPolicies(t *testing.T) {
ctx := context.Background()
assert := assert.New(t)

keyVaultName := GenerateTestResourceNameWithRandom("kv", 10)
keyVaultName := GenerateTestResourceNameWithRandom("kv", 6)
const poll = time.Second * 10
keyVaultLocation := tc.resourceGroupLocation
accessPolicies := []azurev1alpha1.AccessPolicyEntry{
Expand Down Expand Up @@ -150,7 +150,7 @@ func TestKeyvaultControllerWithLimitedAccessPoliciesAndUpdate(t *testing.T) {
defer PanicRecover(t)
ctx := context.Background()
assert := assert.New(t)
keyVaultName := GenerateTestResourceNameWithRandom("kv", 10)
keyVaultName := GenerateTestResourceNameWithRandom("kv", 6)
const poll = time.Second * 10
keyVaultLocation := tc.resourceGroupLocation
limitedPermissions := []string{"backup"}
Expand Down Expand Up @@ -346,7 +346,7 @@ func TestKeyvaultControllerWithVirtualNetworkRulesAndUpdate(t *testing.T) {
ctx := context.Background()
assert := assert.New(t)

keyVaultName := GenerateTestResourceNameWithRandom("kv", 10)
keyVaultName := GenerateTestResourceNameWithRandom("kv", 6)
const poll = time.Second * 10
keyVaultLocation := tc.resourceGroupLocation
accessPolicies := []azurev1alpha1.AccessPolicyEntry{
Expand Down

0 comments on commit 40a5e1e

Please sign in to comment.