wujimin commented on a change in pull request #673: [SCB-504] upgrade spring boot version URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/673#discussion_r185528139
########## File path: integration-tests/springmvc-tests/src/test/java/org/apache/servicecomb/demo/springmvc/tests/SpringMvcIntegrationTestBase.java ########## @@ -637,14 +628,8 @@ public void ensureServerWorksFine() throws Exception { @Test public void ensureServerBlowsUp() { - try { - restTemplate.getForObject( - controllerUrl + "sayhi?name=throwexception", - String.class); - fail("Exception expected, but threw nothing"); - } catch (UnknownHttpStatusCodeException e) { - assertThat(e.getRawStatusCode(), is(590)); - } + String response = restTemplate.getForObject(controllerUrl + "sayhi?name=throwexception", String.class); Review comment: postForEntity ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services