From 34077e312164fa2096ba11511e4c1c5ed992490f Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Thu, 20 Mar 2014 11:12:14 +0100 Subject: [PATCH] [TEST] remove time upperbound from test - only for testing --- .../org/elasticsearch/search/suggest/SuggestSearchTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/search/suggest/SuggestSearchTests.java b/src/test/java/org/elasticsearch/search/suggest/SuggestSearchTests.java index a06e1bc9ee4..e4d41f83e0a 100644 --- a/src/test/java/org/elasticsearch/search/suggest/SuggestSearchTests.java +++ b/src/test/java/org/elasticsearch/search/suggest/SuggestSearchTests.java @@ -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) {