Commit 0c4ca25a authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Bug Fix integration tests for service

parent f50efb92
// Copyright © Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/*
.Synopsis
Terraform Variable Override Template
.DESCRIPTION
This file holds a variable override sample to be used by pipelines
*/
/*
prefix = "osdu-mvp"
resource_tags = {
environment = "OSDU Demo"
}
# Kubernetes Settings
kubernetes_version = "1.18.8"
aks_agent_vm_size = "Standard_E4s_v3"
aks_agent_vm_count = "5"
subnet_aks_prefix = "10.10.2.0/23"
*/
......@@ -21,7 +21,6 @@ import (
"github.com/gruntwork-io/terratest/modules/terraform"
appGatewayIntegTests "github.com/microsoft/cobalt/infra/modules/providers/azure/appgw/tests/integration"
redisIntegTests "github.com/microsoft/cobalt/infra/modules/providers/azure/redis-cache/tests/integration"
storageIntegTests "github.com/microsoft/cobalt/infra/modules/providers/azure/storage-account/tests/integration"
"github.com/microsoft/cobalt/test-harness/infratests"
)
......@@ -42,7 +41,6 @@ func TestDataEnvironment(t *testing.T) {
TfOptions: tfOptions,
ExpectedTfOutputCount: 13,
TfOutputAssertions: []infratests.TerraformOutputValidation{
storageIntegTests.InspectStorageAccount("storage_account", "storage_containers", "services_resource_group_name"),
redisIntegTests.InspectProvisionedCache("redis_name", "services_resource_group_name"),
redisIntegTests.CheckRedisWriteOperations("redis_hostname", "redis_primary_access_key", "redis_ssl_port"),
appGatewayIntegTests.InspectAppGateway("services_resource_group_name", "appgw_name", "keyvault_secret_id"),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment