Skip to content
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

Enable setting ttl for MockDatastoreService #5468

Merged
merged 6 commits into from
Jan 5, 2022
Merged

Conversation

ytjohn
Copy link
Contributor

@ytjohn ytjohn commented Nov 30, 2021

This allows people to test their code if they are already setting a ttl. This resolves #4880

I think we would also be fine with not issuing a log warning, but put that in for completeness.

This allows people to test their code if they are already setting a ttl.
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Nov 30, 2021
@CLAassistant
Copy link

CLAassistant commented Nov 30, 2021

CLA assistant check
All committers have signed the CLA.

@arm4b arm4b requested a review from a team December 3, 2021 16:42
Copy link
Contributor

@amanda11 amanda11 left a comment

Choose a reason for hiding this comment

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

This looks good to me, and thanks for the contribution.
Just awaiting the pipelines to run.

@ytjohn
Copy link
Contributor Author

ytjohn commented Dec 7, 2021

@amanda11 Thanks for the approval. I fixed the formatting and updated changelog. I'm not yet seeing how this change would have impacted the build, so not sure if that's just an ephemeral issue or something that was expecting ttl to be rejected.. I'm now working on setting up a full local development environment for the st2 codebase itself.

@arm4b arm4b added this to the 3.7.0 milestone Jan 5, 2022
@arm4b arm4b merged commit e43b948 into StackStorm:master Jan 5, 2022
@arm4b
Copy link
Member

arm4b commented Jan 5, 2022

Merged, thanks @ytjohn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement size/S PR that changes 10-29 lines. Very easy to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

An exception is raised when calling MockDatastoreService.set_value() with a ttl
4 participants