postgresql_combined_test change to make it work
@@ -11,7 +11,6 @@ import (
azurev1alpha1 "github.com/Azure/azure-service-operator/api/v1alpha1"
"github.com/Azure/azure-service-operator/api/v1alpha2"
- "github.com/Azure/azure-service-operator/pkg/helpers"
"github.com/Azure/go-autorest/autorest/to"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
@@ -96,30 +95,6 @@ func TestPSQLDatabaseController(t *testing.T) {
EnsureInstance(ctx, t, tc, postgreSQLDatabaseInstance)
- var postgresqlUser *azurev1alpha1.PostgreSQLUser
-
- // create a psql user and verify it provisions
- pusername := "psql-test-user" + helpers.RandomString(10)
- roles := []string{"azure_pg_admin"}
- keyVaultSecretFormats := []string{"adonet"}
-
- postgresqlUser = &azurev1alpha1.PostgreSQLUser{
- ObjectMeta: metav1.ObjectMeta{
- Name: pusername,
- Namespace: "default",
- },
- Spec: azurev1alpha1.PostgreSQLUserSpec{
- Server: postgreSQLServerName,
- DbName: postgreSQLDatabaseName,
- ResourceGroup: rgName,
- Roles: roles,
- KeyVaultSecretFormats: keyVaultSecretFormats,
- },
- }
-
- EnsureInstance(ctx, t, tc, postgresqlUser)
- EnsureDelete(ctx, t, tc, postgresqlUser)
-
EnsureDelete(ctx, t, tc, postgreSQLDatabaseInstance)
EnsureDelete(ctx, t, tc, postgreSQLFirewallRuleInstance)
