# HG changeset patch # User jlahoda # Date 1492688583 -7200 # Node ID d008ab12a00a56eb9445f039353b9d48adcdd36e # Parent eac0b6c86a43208094fad3dcda744106e5136b93 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 eac0b6c86a43 -r d008ab12a00a langtools/test/jdk/jshell/CompletionSuggestionTest.java --- a/langtools/test/jdk/jshell/CompletionSuggestionTest.java Wed Apr 19 10:26:48 2017 -0700 +++ b/langtools/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 {