Skip to content

Add unit test in Redis to return values with no max age set - #329

Merged
feast-ci-bot merged 2 commits into
feast-dev:masterfrom
smadarasmi:fix-serving-bugs
Nov 27, 2019
Merged

Add unit test in Redis to return values with no max age set#329
feast-ci-bot merged 2 commits into
feast-dev:masterfrom
smadarasmi:fix-serving-bugs

Conversation

@smadarasmi

Copy link
Copy Markdown
Contributor

Two things:

  1. Fixed the path in serving config to point to redis store config
  2. There was a bug in RedisServingService when checking for equality to default Duration. I was adding the bug fix to my Cassandra serving branch but now I saw that it has already been fixed. However, the unit test was not catching that bug, so I thought we should still have this unit test. Unit test did not catch the bug because it EntityRow and FeatureRow time specified was the same in the test so those features are never stale.

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

Hi @smadarasmi. Thanks for your PR.

I'm waiting for a gojek member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@woop

woop commented Nov 27, 2019

Copy link
Copy Markdown
Member

Thanks @smadarasmi !

for (1), just to be sure: Does this not depend on your working directory when executing serving? I havent run into this problem before while using that configuration file.

for (2), this is great, thanks!

@smadarasmi

Copy link
Copy Markdown
Contributor Author

@woop for (1), I was thinking about that too. This issue happens to me always when I run mvn --pl serving spring-boot:run from the FEAST_HOME directory.

Do you perhaps not get the error because you have set this env variable: FEAST_STORE_CONFIG_PATH?
config-path: ${FEAST_STORE_CONFIG_PATH:serving/sample_redis_config.yml}

@smadarasmi

Copy link
Copy Markdown
Contributor Author

Just for my information, how do you usually run it? I get issue from both running mvn --pl serving spring-boot:run and when running ServingApplication from Intellij.

@woop

woop commented Nov 27, 2019

Copy link
Copy Markdown
Member

/ok-to-test

@woop

woop commented Nov 27, 2019

Copy link
Copy Markdown
Member

Just for my information, how do you usually run it? I get issue from both running mvn --pl serving spring-boot:run and when running ServingApplication from Intellij.

It's not infront of me, but I believe I am running it with serving/ as the working directory. I guess that is why it passes.

@davidheryanto can you have a look here?

@smadarasmi

Copy link
Copy Markdown
Contributor Author

/retest

@smadarasmi smadarasmi changed the title Fix serving bugs Add unit test in Redis to return values with no max age set Nov 27, 2019
@woop

woop commented Nov 27, 2019

Copy link
Copy Markdown
Member

/lgtm

@woop

woop commented Nov 27, 2019

Copy link
Copy Markdown
Member

/approve

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smadarasmi, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@feast-ci-bot
feast-ci-bot merged commit 81fb1ba into feast-dev:master Nov 27, 2019
zhilingc pushed a commit to zhilingc/feast that referenced this pull request Nov 28, 2019
…v#329)

* fix path in serving application.yml for redis serving config

* add test to RedisServingService for checking values are returned when max age is default
Srihari1192 pushed a commit to Srihari1192/feast that referenced this pull request Aug 20, 2026
…ns (feast-dev#329)

The ClusterServiceVersion was out of sync with the RBAC annotations
in the Go source and config/rbac/role.yaml. Missing permissions for
kubeflow.org/notebooks, apiextensions.k8s.io/customresourcedefinitions,
and several core resources caused the feast-operator-controller-manager
to CrashLoopBackOff with Forbidden errors during DSC bootstrap.

Regenerated via `make bundle`.

Ref: RHOAIENG-83128

Co-authored-by: ntkathole <nikhilkathole2683@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Nikhil Kathole <nkathole@redhat.com>
Co-authored-by: moulalis <moulalis@users.noreply.github.com>
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.

3 participants