message: add http test case
diff: @@ -88,7 +88,6 @@ class TestFitALine(object):
  print(fetch_map)
  return fetch_map
  -
  def test_cpu(self):
  # 1.start server
  self.serving_util.start_server_by_shell(
  @@ -106,6 +105,8 @@ class TestFitALine(object):
  # batch_size 1
  result_data = self.predict_brpc()
  self.serving_util.check_result(result_data=result_data, truth_data=self.truth_val, batch_size=1)
  + result_data = self.predict_http()
  + self.serving_util.check_result(result_data=result_data, truth_data=self.truth_val, batch_size=1)
  # 5.release
  kill_process(9494)
  @@ -127,6 +128,8 @@ class TestFitALine(object):
  # batch_size 1
  result_data = self.predict_brpc()
  self.serving_util.check_result(result_data=result_data, truth_data=self.truth_val, batch_size=1)
  + result_data = self.predict_http()
  + self.serving_util.check_result(result_data=result_data, truth_data=self.truth_val, batch_size=1)
  # 5.release
  kill_process(9494)
  