Skip to content

Commit

Permalink
Array equals
Browse files Browse the repository at this point in the history
  • Loading branch information
Teagan42 authored and seldondev committed Apr 2, 2020
1 parent aa86222 commit 8ae203c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public void testPredict_img_as_binary() throws Exception {
Assert.assertEquals("COUNTER", seldonMessage.getMeta().getMetrics(0).getType().toString());
Assert.assertEquals("GAUGE", seldonMessage.getMeta().getMetrics(1).getType().toString());
Assert.assertEquals("TIMER", seldonMessage.getMeta().getMetrics(2).getType().toString());
Assert.assertEquals(imageBytes, seldonMessage.getBinData().toByteArray());
Assert.assertArrayEquals(imageBytes, seldonMessage.getBinData().toByteArray());
// No Puid specified in request, verify response generated random of correct length
Assert.assertNotNull(seldonMessage.getMeta().getPuid());
Assert.assertTrue(Pattern.matches("[a-z0-9]{26}", seldonMessage.getMeta().getPuid()));
Expand Down

0 comments on commit 8ae203c

Please sign in to comment.