Skip to content
Permalink
Browse files
fix: flaky testInspectStringMultipleRulesPatientRule (#264)
  • Loading branch information
athakor committed Sep 1, 2020
1 parent c45dc27 commit f8dda413972df0e348440ffd76d453536731c2bd
Showing with 2 additions and 2 deletions.
  1. +2 −2 samples/snippets/src/test/java/dlp/snippets/InspectTests.java
@@ -231,10 +231,10 @@ public void testInspectStringCustomHotwordNegativeExample() throws Exception {
@Test
public void testInspectStringMultipleRulesPatientRule() throws Exception {
InspectStringMultipleRules.inspectStringMultipleRules(PROJECT_ID,
"patient: Jane Doe");
"patient name: Jane Doe");

String output = bout.toString();
assertThat(output).contains("VERY_LIKELY");
assertThat(output).contains("LIKELY");
}

@Test

0 comments on commit f8dda41

Please sign in to comment.