Search in sources :

Example 1 with ParentBulkByScrollTask

use of org.elasticsearch.action.bulk.byscroll.ParentBulkByScrollTask in project elasticsearch by elastic.

the class TransportRethrottleActionTests method createTask.

@Before
public void createTask() {
    slices = between(2, 50);
    task = new ParentBulkByScrollTask(1, "test_type", "test_action", "test", null, slices);
}
Also used : ParentBulkByScrollTask(org.elasticsearch.action.bulk.byscroll.ParentBulkByScrollTask) Before(org.junit.Before)

Aggregations

ParentBulkByScrollTask (org.elasticsearch.action.bulk.byscroll.ParentBulkByScrollTask)1 Before (org.junit.Before)1