# HG changeset patch # User jlahoda # Date 1492688583 -7200 # Node ID f13bda19561903991a086e534909f3bb43b4ad96 # Parent 68536b95691cfb6d176948a37f955420860df308 8178481: jdk/jshell/CompletionSuggestionTest.java routinely fails Summary: Depending on the test order, the completion after 'import c' may include additional entries besides 'com', only checking 'com' is present. Reviewed-by: rfield diff -r 68536b95691c -r f13bda195619 test/jdk/jshell/CompletionSuggestionTest.java --- a/test/jdk/jshell/CompletionSuggestionTest.java Wed Apr 19 10:26:48 2017 -0700 +++ b/test/jdk/jshell/CompletionSuggestionTest.java Thu Apr 20 13:43:03 2017 +0200 @@ -296,7 +296,7 @@ } public void testImportStart() { - assertCompletion("import c|", "com"); + assertCompletionIncludesExcludes("import c|", Set.of("com"), Set.of()); } public void testBrokenClassFile() throws Exception {