Skip to content

Commit 17240b6

Browse files
committed
Update expected test results to reflect smaller ES domain
1 parent c3532ce commit 17240b6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/src/examples_complete_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ func TestExamplesComplete(t *testing.T) {
3333
// Run `terraform output` to get the value of an output variable
3434
privateSubnetCidrs := terraform.OutputList(t, terraformOptions, "private_subnet_cidrs")
3535
// Verify we're getting back the outputs we expect
36-
assert.Equal(t, []string{"172.16.0.0/19", "172.16.32.0/19"}, privateSubnetCidrs)
36+
// assert.Equal(t, []string{"172.16.0.0/19", "172.16.32.0/19"}, privateSubnetCidrs)
37+
assert.Equal(t, []string{"172.16.0.0/19"}, privateSubnetCidrs)
3738

3839
// Run `terraform output` to get the value of an output variable
3940
publicSubnetCidrs := terraform.OutputList(t, terraformOptions, "public_subnet_cidrs")
4041
// Verify we're getting back the outputs we expect
41-
assert.Equal(t, []string{"172.16.96.0/19", "172.16.128.0/19"}, publicSubnetCidrs)
42+
// assert.Equal(t, []string{"172.16.96.0/19", "172.16.128.0/19"}, publicSubnetCidrs)
43+
assert.Equal(t, []string{"172.16.96.0/19"}, publicSubnetCidrs)
4244

4345
// Run `terraform output` to get the value of an output variable
4446
domainHostname := terraform.Output(t, terraformOptions, "domain_hostname")
@@ -59,5 +61,5 @@ func TestExamplesComplete(t *testing.T) {
5961
// Run `terraform output` to get the value of an output variable
6062
lambdaFunctionArn := terraform.Output(t, terraformOptions, "lambda_function_arn")
6163
// Verify we're getting back the outputs we expect
62-
assert.Contains(t, lambdaFunctionArn, "function:eg-test-app-elasticsearch-cleanup")
64+
assert.Contains(t, lambdaFunctionArn, "function:eg-test-elasticsearch-cleanup")
6365
}

0 commit comments

Comments
 (0)