Added AwaitsFix

This commit is contained in:
Martijn van Groningen 2014-04-29 13:58:39 +07:00
parent 0f23485a3c
commit 8817281a70
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import com.carrotsearch.randomizedtesting.annotations.Nightly;
import com.google.common.base.Charsets; import com.google.common.base.Charsets;
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList;
import com.google.common.io.Resources; import com.google.common.io.Resources;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util.LuceneTestCase.Slow; import org.apache.lucene.util.LuceneTestCase.Slow;
import org.elasticsearch.ElasticsearchException; import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.ElasticsearchIllegalStateException; import org.elasticsearch.ElasticsearchIllegalStateException;
@ -671,6 +672,7 @@ public class SuggestSearchTests extends ElasticsearchIntegrationTest {
@Test @Test
@Nightly @Nightly
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elasticsearch/elasticsearch/pull/5962")
public void testPhraseBoundaryCases() throws ElasticsearchException, IOException { public void testPhraseBoundaryCases() throws ElasticsearchException, IOException {
CreateIndexRequestBuilder builder = prepareCreate("test").setSettings(settingsBuilder() CreateIndexRequestBuilder builder = prepareCreate("test").setSettings(settingsBuilder()
.put(indexSettings()).put(SETTING_NUMBER_OF_SHARDS, 1) // to get reliable statistics we should put this all into one shard .put(indexSettings()).put(SETTING_NUMBER_OF_SHARDS, 1) // to get reliable statistics we should put this all into one shard