Skip to content

Commit 9aa4e15

Browse files
committed
Add check to 'TestAccOpenSearchDomain_basic'.
1 parent 5b3bd15 commit 9aa4e15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/service/opensearch/domain_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ func TestAccOpenSearchDomain_basic(t *testing.T) {
155155
Config: testAccDomainConfig_basic(rName),
156156
Check: resource.ComposeTestCheckFunc(
157157
testAccCheckDomainExists(ctx, resourceName, &domain),
158+
resource.TestCheckResourceAttr(resourceName, "aiml_options.#", "0"),
158159
resource.TestMatchResourceAttr(resourceName, "dashboard_endpoint", regexache.MustCompile(`.*(opensearch|es)\..*/_dashboards`)),
159160
resource.TestCheckResourceAttrSet(resourceName, names.AttrEngineVersion),
160161
resource.TestCheckResourceAttr(resourceName, "off_peak_window_options.#", "1"),

0 commit comments

Comments
 (0)