-
Notifications
You must be signed in to change notification settings - Fork 998
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
Add serving integration test for updated feature type #1112
Add serving integration test for updated feature type #1112
Conversation
coreClient, projectName, featureTableName, entities, features, 7200); | ||
|
||
// Sleep is necessary to ensure caching (every 10s) of updated FeatureTable is done | ||
try { |
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.
is it possible to manually trigger cache invalidation?
or at least configure it to every second for example?
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.
Unfortunately, we set the number of seconds here, I don't think it's possible to configure this setting.
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.
but it can be moved to Spring config, right?
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.
You mean make it configurable thru serving's application.yml?
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.
yep
Signed-off-by: Terence <[email protected]>
adf8fde
to
6f9cbd6
Compare
Signed-off-by: Terence <[email protected]>
6f9cbd6
to
a653fea
Compare
|
||
@Autowired | ||
public SpecServiceConfig(FeastProperties feastProperties) { | ||
feastCoreHost = feastProperties.getCoreHost(); | ||
feastCorePort = feastProperties.getCoreGrpcPort(); | ||
CACHE_REFRESH_RATE_SECONDS = feastProperties.getCoreCacheRefreshInterval(); |
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.
- since it's not a constant anymore shouldn't it be lowercased?
- add
this.
please
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.
Updated.
Signed-off-by: Terence <[email protected]>
/retest |
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/retest |
Signed-off-by: Terence [email protected]
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?: