From e2ab4040488a4b349f4da2d652c50e9cd4f032b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20De=20la=20Torre=20Vico?= Date: Mon, 14 Oct 2024 15:39:51 +0200 Subject: [PATCH] test(opensearch): test new data_nodes_count attribute --- .../aws/services/opensearch/opensearch_service_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/providers/aws/services/opensearch/opensearch_service_test.py b/tests/providers/aws/services/opensearch/opensearch_service_test.py index a1263d2988..52dd76191c 100644 --- a/tests/providers/aws/services/opensearch/opensearch_service_test.py +++ b/tests/providers/aws/services/opensearch/opensearch_service_test.py @@ -70,6 +70,7 @@ def mock_make_api_call(self, operation_name, kwarg): "ClusterConfig": { "DedicatedMasterEnabled": True, "DedicatedMasterCount": 1, + "InstanceCount": 3, }, "CognitoOptions": {"Enabled": True}, "EncryptionAtRestOptions": {"Enabled": True}, @@ -178,6 +179,7 @@ class Test_OpenSearchService_Service: assert opensearch.opensearch_domains[0].version == "opensearch-version1" assert opensearch.opensearch_domains[0].dedicated_master_enabled assert opensearch.opensearch_domains[0].dedicated_master_count == 1 + assert opensearch.opensearch_domains[0].data_nodes_count == 3 assert opensearch.opensearch_domains[0].tags == [ {"Key": "test", "Value": "test"}, ]