-
Notifications
You must be signed in to change notification settings - Fork 996
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
Teardown infrastructure after integration tests #1697
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1697 +/- ##
==========================================
+ Coverage 82.75% 83.25% +0.50%
==========================================
Files 76 76
Lines 6754 6778 +24
==========================================
+ Hits 5589 5643 +54
+ Misses 1165 1135 -30
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
327229b
to
ce2dac3
Compare
@achals Should we add the teardown method to the FeatureStore class instead of calling a private method on it? |
Definitely, that's what I wanted with #1696. I made this PR because I thought it may need to be landed sooner than that - if we're okay with me taking a few more hours I can fix that issue and update this PR to use the teardown method directly. What do you think? |
sgtm |
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: Achal Shah <achals@gmail.com>
99ba2f2
to
94388a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had one small nit, otherwise lgtm
Signed-off-by: Achal Shah <achals@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: achals, felixwang9817 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Teardown infrastructure after integration tests Signed-off-by: Achal Shah <achals@gmail.com> * Add a teardown method in feature store Signed-off-by: Achal Shah <achals@gmail.com> * fix import Signed-off-by: Achal Shah <achals@gmail.com> * Rename var to tables Signed-off-by: Achal Shah <achals@gmail.com> * Remove incorrect comment Signed-off-by: Achal Shah <achals@gmail.com> Signed-off-by: CS <2498638+charliec443@users.noreply.github.com>
Signed-off-by: Achal Shah achals@gmail.com
What this PR does / why we need it:
The
test_offline_online_store_consistency.py
integration test didn't tear down any infrastructure after running. This led to an issue where we ran past the number of dynamo tables allowed for an account: https://github.com/feast-dev/feast/runs/3014392319?check_suite_focus=trueThis PR changes the integration test to tear down the infrastructure set up by the fixtures.
Which issue(s) this PR fixes:
Fixes #1696.
Does this PR introduce a user-facing change?: