Skip to content

Add serving integration test for updated feature type - #1112

Merged
feast-ci-bot merged 3 commits into
feast-dev:masterfrom
terryyylim:update-serving-integration-test
Nov 2, 2020
Merged

Add serving integration test for updated feature type#1112
feast-ci-bot merged 3 commits into
feast-dev:masterfrom
terryyylim:update-serving-integration-test

Conversation

@terryyylim

Copy link
Copy Markdown
Member

Signed-off-by: Terence terencelimxp@gmail.com

What this PR does / why we need it:
Following this PR, this PR adds an integration test that checks for NOT FOUND values in online retrieval when feature types are changed.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is it possible to manually trigger cache invalidation?
or at least configure it to every second for example?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Unfortunately, we set the number of seconds here, I don't think it's possible to configure this setting.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

but it can be moved to Spring config, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You mean make it configurable thru serving's application.yml?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

yep

Signed-off-by: Terence <terencelimxp@gmail.com>
@feast-ci-bot feast-ci-bot added size/L and removed size/M labels Nov 2, 2020
@terryyylim
terryyylim force-pushed the update-serving-integration-test branch from adf8fde to 6f9cbd6 Compare November 2, 2020 06:21
Signed-off-by: Terence <terencelimxp@gmail.com>
@terryyylim
terryyylim force-pushed the update-serving-integration-test branch from 6f9cbd6 to a653fea Compare November 2, 2020 06:23
public SpecServiceConfig(FeastProperties feastProperties) {
feastCoreHost = feastProperties.getCoreHost();
feastCorePort = feastProperties.getCoreGrpcPort();
CACHE_REFRESH_RATE_SECONDS = feastProperties.getCoreCacheRefreshInterval();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

  1. since it's not a constant anymore shouldn't it be lowercased?
  2. add this. please

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Updated.

Signed-off-by: Terence <terencelimxp@gmail.com>
@terryyylim

Copy link
Copy Markdown
Member Author

/retest

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pyalex, terryyylim

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

@pyalex

pyalex commented Nov 2, 2020

Copy link
Copy Markdown
Collaborator

/lgtm

@terryyylim

Copy link
Copy Markdown
Member Author

/retest

@feast-ci-bot
feast-ci-bot merged commit 85eedf0 into feast-dev:master Nov 2, 2020
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