mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
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…
x
Reference in New Issue
Block a user