From aa8622261d7d0685b5c899e65a78eb02c93d9dee Mon Sep 17 00:00:00 2001 From: Teagan glenn Date: Thu, 2 Apr 2020 12:47:47 -0600 Subject: [PATCH] Fix print call --- .../io/seldon/engine/api/rest/TestRestClientController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/test/java/io/seldon/engine/api/rest/TestRestClientController.java b/engine/src/test/java/io/seldon/engine/api/rest/TestRestClientController.java index 5b0af24c19..c111c3e59c 100644 --- a/engine/src/test/java/io/seldon/engine/api/rest/TestRestClientController.java +++ b/engine/src/test/java/io/seldon/engine/api/rest/TestRestClientController.java @@ -378,7 +378,7 @@ public void testPredict_img_as_binary() throws Exception { .contentType(MediaType.APPLICATION_OCTET_STREAM)) .andReturn(); byte[] response = res.getResponse().getContentAsByteArray(); - System.out.println(String(response); + System.out.println(new String(response)); Assert.assertEquals(200, res.getResponse().getStatus()); SeldonMessage.Builder builder = SeldonMessage.newBuilder(); ProtoBufUtils.updateMessageBuilderFromJson(builder, new String(response));