Test: Fields in percolator query must exist before percolating
This commit is contained in:
parent
dc30bb0ea7
commit
144af9c910
|
@ -146,7 +146,7 @@ public class ConcurrentPercolatorTests extends ElasticsearchIntegrationTest {
|
|||
|
||||
@Test
|
||||
public void testConcurrentAddingAndPercolating() throws Exception {
|
||||
createIndex("index");
|
||||
assertAcked(prepareCreate("index").addMapping("type", "field1", "type=string", "field2", "type=string"));
|
||||
ensureGreen();
|
||||
final int numIndexThreads = scaledRandomIntBetween(1, 3);
|
||||
final int numPercolateThreads = scaledRandomIntBetween(2, 6);
|
||||
|
|
Loading…
Reference in New Issue