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

Make management frontend check for input type object equality #250

Merged

Conversation

dcrankshaw
Copy link
Contributor

#226 has a bug in the model/app compatibility check when linking. It checks for input type compatibility through string comparison, but there are multiple valid string representations for each input type. This PR fixes it to compare by clipper::InputType object equality which is a canonical representation of input type.

The added unit test fails without the fix and passes with the fix.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/564/
Test FAILed.

Copy link

@nishadsingh1 nishadsingh1 left a comment

Choose a reason for hiding this comment

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

Thanks for catching the bug -- this LGTM.

@nishadsingh1
Copy link

jenkins test this please

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/565/
Test PASSed.

@dcrankshaw dcrankshaw merged commit a968c15 into ucbrise:develop Jul 12, 2017
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