File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/test/java/org/elasticsearch/index/query Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ public abstract class BaseQueryTestCase<QB extends BaseQueryBuilder & Streamable
73
73
public static void init () throws IOException {
74
74
Settings settings = ImmutableSettings .settingsBuilder ()
75
75
.put ("name" , BaseQueryTestCase .class .toString ())
76
+ .put ("path.home" , createTempDir ())
76
77
.put (IndexMetaData .SETTING_VERSION_CREATED , Version .CURRENT )
77
78
.build ();
78
79
Original file line number Diff line number Diff line change 19
19
20
20
package org .elasticsearch .index .query ;
21
21
22
+ import com .carrotsearch .randomizedtesting .annotations .Repeat ;
23
+
22
24
import org .apache .lucene .search .MatchAllDocsQuery ;
23
25
import org .apache .lucene .search .Query ;
24
26
27
29
import static org .hamcrest .Matchers .instanceOf ;
28
30
import static org .hamcrest .Matchers .is ;
29
31
32
+ @ Repeat (iterations =20 )
30
33
public class MatchAllQueryBuilderTest extends BaseQueryTestCase <MatchAllQueryBuilder > {
31
34
32
35
@ Override
You can’t perform that action at this time.
0 commit comments