8000 Kinesis: SubscribeToShard session cut after 5min by ackdav · Pull Request #6732 · localstack/localstack · GitHub
[go: up one dir, main page]

Skip to content

Kinesis: SubscribeToShard session cut after 5min #6732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 28, 2022

Conversation

ackdav
Copy link
Member
@ackdav ackdav commented Aug 23, 2022

Summary

Fixes an issue where a SubscribeToShard is cut too early - now set to 5min.
Additionally added aws validated test marks and a basic kinesis stream tags test.

Test

test_subscribe_to_shard_timeout

Related

Fixes: #5830

@ackdav ackdav temporarily deployed to localstack-ext-tests August 23, 2022 14:38 Inactive
@localstack-bot
Copy link
Collaborator
localstack-bot commented Aug 23, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

Copy link
Collaborator
@localstack-bot localstack-bot left a comment

Choose a reason for hiding this comment

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

Welcome to LocalStack! Thanks for raising your first Pull Request and landing in your contributions. Our team will reach out with any reviews or feedbacks that we have shortly. We recommend joining our Slack Community and share your PR on the #community channel to share your contributions with us. Please make sure you are following our contributing guidelines and our Code of Conduct.

@ackdav
Copy link
Member Author
ackdav commented Aug 23, 2022

I have read the CLA Document and I hereby sign the CLA

@ackdav ackdav temporarily deployed to localstack-ext-tests August 23, 2022 15:27 Inactive
@ackdav ackdav force-pushed the kinesis_test_enhancement branch from 48d8c31 to c7e1bbb Compare August 23, 2022 15:47
@ackdav ackdav temporarily deployed to localstack-ext-tests August 23, 2022 15:48 Inactive
@ackdav ackdav force-pushed the kinesis_test_enhancement branch from c7e1bbb to 3b1e979 Compare August 23, 2022 15:50
@ackdav ackdav temporarily deployed to localstack-ext-tests August 23, 2022 15:51 Inactive
@thrau thrau requested a review from alexrashed August 23, 2022 16:33
@coveralls
Copy link
coveralls commented Aug 23, 2022

Coverage Status

Coverage decreased (-0.0008%) to 91.526% when pulling 6aea352 on kinesis_test_enhancement into 91b1f5c on master.

@github-actions
Copy link
github-actions bot commented Aug 23, 2022

LocalStack integration with Pro

       3 files  ±0         3 suites  ±0   1h 11m 0s ⏱️ +16s
1 237 tests +2  1 196 ✔️ +2  41 💤 ±0  0 ±0 
1 662 runs  +2  1 590 ✔️ +2  72 💤 ±0  0 ±0 

Results for commit 670c5cb. ± Comparison against base commit bb05ce6.

♻️ This comment has been updated with latest results.

Copy link
Member
@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Great set of changes!
The stream timeout is now properly implemented, and you AWS validated a lot of tests! 🔝
I only posted a few questions and nitpicks.
If you want to go the extra mile you could try migrating them to snapshot tests too. 🙂
Once the PR is merged, I will migrate the fix to the upcoming ASF migration in #6166.

@alexrashed alexrashed mentioned this pull request Aug 24, 2022
5 tasks
@ackdav ackdav temporarily deployed to localstack-ext-tests August 25, 2022 08:25 Inactive
@ackdav ackdav temporarily deployed to localstack-ext-tests August 26, 2022 07:52 Inactive
Copy link
Member
@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Nice! The tests now even are snapshot tested! I only found small nitpicks (see the comments).
Also the enhanced test seems to fail when running against our Pro extensions.

@ackdav ackdav temporarily deployed to localstack-ext-tests August 26, 2022 08:37 Inactive
@ackdav ackdav temporarily deployed to localstack-ext-tests August 26, 2022 08:40 Inactive
@ackdav ackdav force-pushed the kinesis_test_enhancement branch from 0be8d7a to 6aea352 Compare August 26, 2022 10:15
@ackdav ackdav temporarily deployed to loca 8000 lstack-ext-tests August 26, 2022 10:16 Inactive
Copy link
Member
@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Awesome! As soon as the tests are through, we're ready to merge! 🥳

@thrau thrau force-pushed the kinesis_test_enhancement branch from 6aea352 to 670c5cb Compare August 27, 2022 14:50
@thrau thrau temporarily deployed to localstack-ext-tests August 27, 2022 14:50 Inactive
@thrau thrau merged commit 0ef849e into master Aug 28, 2022
@thrau thrau deleted the kinesis_test_enhancement branch August 28, 2022 19:55
alexrashed added a commit that referenced this pull request Aug 29, 2022
alexrashed added a commit that referenced this pull request Aug 29, 2022
alexrashed added a commit that referenced this pull request Aug 29, 2022
alexrashed added a commit that referenced this pull request Aug 30, 2022
macnev2013 pushed a commit to macnev2013/localstack that referenced this pull request Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Kinesis subscription stops receiving messages after 60 seconds
5 participants
0