-
Notifications
You must be signed in to change notification settings - Fork 627
Parse NO_CHANGE fetch response for template version #4177
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
Conversation
Coverage Report 1Affected Products
Test Logs |
Size Report 1Affected Products
Test Logs |
Generated by 🚫 Danger |
return new FetchResponse( | ||
fetchTime, | ||
Status.BACKEND_HAS_NO_UPDATES, | ||
/*fetchedConfigs=*/ null, | ||
/*fetchedConfigs=*/ fetchedConfigs, |
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.
I might add a comment that we're including the fetchConfigs
because they include the template version (even though they don't include the config entries or metadata)
@@ -167,7 +167,7 @@ public void fetch_noChange_responseNotSet() throws Exception { | |||
FetchResponse response = fetch(SECOND_ETAG); | |||
|
|||
assertThat(response.getLastFetchETag()).isNull(); | |||
assertThat(response.getFetchedConfigs()).isNull(); | |||
assertThat(response.getFetchedConfigs()).isNotNull(); |
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.
Maybe assert it only contains template version?
Parse NO_CHANGE fetch response for template version. As part of go/realtime-rc-forward-compatibility