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

Fix ClientInfoResource #1801

Merged
merged 1 commit into from
Oct 6, 2015
Merged

Fix ClientInfoResource #1801

merged 1 commit into from
Oct 6, 2015

Conversation

guobingkun
Copy link
Contributor

Fix ClientInfoResource so that it doesn't return empty list for overshadowed segments.

@himanshug
Copy link
Contributor

LGTM

@fjy
Copy link
Contributor

fjy commented Oct 2, 2015

👍

Fix ClientInfoResource so that it doesn't return empty list for overshadowed segments
{
Map<String, Object> actual = resource.getDatasource(dataSource, "1975/2050", null);
Map<String, ?> expected = ImmutableMap.of(
Map<String, Object> actual = resource.getDatasource(dataSource, "1975/2015", null);
Copy link
Member

Choose a reason for hiding this comment

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

any reason we are changing the interval on those tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah.. Because I added some new segments in that interval, and still wanted to reuse this test case, so I shortened the interval. I added testGetDatasourceNonFullWithLargeInterval() in the end so that 1975/2050 is still tested.

@guobingkun guobingkun closed this Oct 2, 2015
@guobingkun guobingkun reopened this Oct 2, 2015
@guobingkun guobingkun closed this Oct 2, 2015
@guobingkun guobingkun reopened this Oct 2, 2015
fjy added a commit that referenced this pull request Oct 6, 2015
@fjy fjy merged commit b5737a2 into apache:master Oct 6, 2015
@guobingkun guobingkun deleted the clientInfoResource branch October 6, 2015 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants