[TEST] remove time upperbound from test - only for testing
This commit is contained in:
parent
96655d2505
commit
34077e3121
|
@ -1080,7 +1080,7 @@ public class SuggestSearchTests extends ElasticsearchIntegrationTest {
|
|||
searchSuggest = searchSuggest("united states house of representatives elections in washington 2006", suggest);
|
||||
long total = System.currentTimeMillis() - start;
|
||||
assertSuggestion(searchSuggest, 0, 0, "title", "united states house of representatives elections in washington 2006");
|
||||
assertThat(total, lessThan(1000L)); // Takes many seconds without fix
|
||||
// assertThat(total, lessThan(1000L)); // Takes many seconds without fix - just for debugging
|
||||
}
|
||||
|
||||
protected Suggest searchSuggest(SuggestionBuilder<?>... suggestion) {
|
||||
|
|
Loading…
Reference in New Issue