Skip to content

Handle trailing slash on predict url#721

Merged
rkooo567 merged 4 commits intoucbrise:developfrom
withsmilo:handle_trailing_slash
Jun 5, 2019
Merged

Handle trailing slash on predict url#721
rkooo567 merged 4 commits intoucbrise:developfrom
withsmilo:handle_trailing_slash

Conversation

@withsmilo
Copy link
Collaborator

@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/2064/
Test FAILed.

self.assertNotEqual(parsed_response["output"], self.default_output)
self.assertFalse(parsed_response["default"])

def test_deployed_model_queried_with_training_slash_successfully(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why don't we add a check in test_test_predict_function instead of creating a new test?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good. I was thinking a little bit about whether to add a new test.

@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/2066/
Test PASSed.

@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/2069/
Test PASSed.

Copy link
Collaborator

@rkooo567 rkooo567 left a comment

Choose a reason for hiding this comment

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

Looks nice!

@rkooo567 rkooo567 merged commit ddea39d into ucbrise:develop Jun 5, 2019
@withsmilo withsmilo deleted the handle_trailing_slash branch June 5, 2019 02:47
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