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

Init registry during create_test_environment #1829

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

achals
Copy link
Member

@achals achals commented Sep 3, 2021

Signed-off-by: Achal Shah [email protected]

What this PR does / why we need it:

In tests that need the environment but don't apply any items, the feature_store.teardown method raises an exception since the registry hasn't been applied.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

none

@codecov-commenter
Copy link

codecov-commenter commented Sep 3, 2021

Codecov Report

Merging #1829 (89ad835) into master (9dc9e60) will decrease coverage by 0.20%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1829      +/-   ##
==========================================
- Coverage   84.60%   84.40%   -0.21%     
==========================================
  Files          94       94              
  Lines        6946     7034      +88     
==========================================
+ Hits         5877     5937      +60     
- Misses       1069     1097      +28     
Flag Coverage Δ
integrationtests 84.33% <100.00%> (+0.05%) ⬆️
unittests 63.22% <0.00%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ts/integration/feature_repos/repo_configuration.py 100.00% <100.00%> (ø)
sdk/python/feast/errors.py 67.96% <0.00%> (-1.43%) ⬇️
sdk/python/feast/cli.py 42.58% <0.00%> (-1.38%) ⬇️
...python/feast/infra/offline_stores/offline_store.py 82.92% <0.00%> (-1.08%) ⬇️
sdk/python/feast/infra/offline_stores/file.py 96.46% <0.00%> (-0.69%) ⬇️
sdk/python/feast/infra/provider.py 88.13% <0.00%> (-0.66%) ⬇️
sdk/python/feast/infra/offline_stores/redshift.py 90.09% <0.00%> (-0.21%) ⬇️
sdk/python/feast/feature_store.py 92.96% <0.00%> (-0.19%) ⬇️
sdk/python/feast/infra/offline_stores/bigquery.py 80.85% <0.00%> (+0.54%) ⬆️
sdk/python/feast/registry.py 79.89% <0.00%> (+0.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9dc9e60...89ad835. Read the comment docs.

Copy link
Collaborator

@adchia adchia left a comment

Choose a reason for hiding this comment

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

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achals, adchia

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@achals achals added kind/bug and removed needs-kind labels Sep 3, 2021
@feast-ci-bot feast-ci-bot merged commit 4464bbf into feast-dev:master Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants