Skip to content

Commit 699882e

Browse files
authored
chore: Add skip_using_service_detector to sns integ tests (#3016)
1 parent a0208dd commit 699882e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

integration/combination/test_function_with_sns.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
@skipIf(current_region_does_not_support([SNS]), "SNS is not supported in this testing region")
99
class TestFunctionWithSns(BaseTest):
1010
def test_function_with_sns_bucket_trigger(self):
11-
self.create_and_verify_stack("combination/function_with_sns")
11+
template_file_path = "combination/function_with_sns"
12+
self.skip_using_service_detector(template_file_path)
13+
self.create_and_verify_stack(template_file_path)
1214

1315
sns_client = self.client_provider.sns_client
1416

@@ -33,7 +35,9 @@ def test_function_with_sns_bucket_trigger(self):
3335
self.assertEqual(sqs_subscription["TopicArn"], sns_topic_arn)
3436

3537
def test_function_with_sns_intrinsics(self):
36-
self.create_and_verify_stack("combination/function_with_sns_intrinsics")
38+
template_file_path = "combination/function_with_sns_intrinsics"
39+
self.skip_using_service_detector(template_file_path)
40+
self.create_and_verify_stack(template_file_path)
3741

3842
sns_client = self.client_provider.sns_client
3943

0 commit comments

Comments
 (0)