Skip to content

fix NotFound exception for GetTopicAttributes#7862

Merged
bentsku merged 1 commit intomasterfrom
fix/7861
Mar 15, 2023
Merged

fix NotFound exception for GetTopicAttributes#7862
bentsku merged 1 commit intomasterfrom
fix/7861

Conversation

@bentsku
Copy link
Contributor

@bentsku bentsku commented Mar 14, 2023

As reported in #7861, our error message was not in parity with AWS (error thrown from moto). We now check before and raise an exception if the topic does not exist. Added a snapshot validated test.

It also shows we have a bit of work to do regarding TopicAttributes, regarding DeliveryPolicy which seems malformed.

fixes #7861

@bentsku bentsku added the aws:sns Amazon Simple Notification Service label Mar 14, 2023
@bentsku bentsku requested a review from baermat March 14, 2023 11:01
@bentsku bentsku self-assigned this Mar 14, 2023
@bentsku bentsku temporarily deployed to localstack-ext-tests March 14, 2023 11:01 — with GitHub Actions Inactive
@coveralls
Copy link

Coverage Status

Coverage: 85.137% (+0.01%) from 85.125% when pulling 794f327 on fix/7861 into 714b9e4 on master.

@github-actions
Copy link

LocalStack integration with Pro

       3 files  +    1         3 suites  +1   1h 40m 0s ⏱️ + 7m 49s
1 798 tests ±    0  1 416 ✔️ +    2  382 💤  -     2  0 ±0 
2 524 runs  +371  1 790 ✔️ +201  734 💤 +170  0 ±0 

Results for commit 794f327. ± Comparison against base commit 714b9e4.

Copy link
Member

@baermat baermat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bentsku bentsku merged commit c24a260 into master Mar 15, 2023
@bentsku bentsku deleted the fix/7861 branch March 15, 2023 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws:sns Amazon Simple Notification Service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Topic not found, error message does not match

3 participants