From f5fcf50e8f626929d0e06816ec6715898327e231 Mon Sep 17 00:00:00 2001 From: Gus Class Date: Tue, 26 May 2020 13:14:42 -0700 Subject: [PATCH] Change video test to not depend on specific inference --- .../src/test/java/com/example/video/QuickstartIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video/cloud-client/src/test/java/com/example/video/QuickstartIT.java b/video/cloud-client/src/test/java/com/example/video/QuickstartIT.java index 5424752ba58..75fdac01658 100644 --- a/video/cloud-client/src/test/java/com/example/video/QuickstartIT.java +++ b/video/cloud-client/src/test/java/com/example/video/QuickstartIT.java @@ -51,6 +51,7 @@ public void test() throws Exception { String got = bout.toString(); // Test that the video with a cat has the whiskers label (may change). - assertThat(got.toUpperCase()).contains("WHISKERS"); + assertThat(got.toUpperCase()).contains("VIDEO LABEL DESCRIPTION"); + assertThat(got.toUpperCase()).contains("CONFIDENCE"); } }