File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/test/java/org/elasticsearch/index/query Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 25
25
import org .elasticsearch .action .admin .indices .mapping .put .PutMappingRequest ;
26
26
import org .elasticsearch .cluster .ClusterService ;
27
27
import org .elasticsearch .cluster .metadata .IndexMetaData ;
28
+ import org .elasticsearch .cluster .metadata .MetaData ;
28
29
import org .elasticsearch .common .compress .CompressedString ;
29
30
import org .elasticsearch .common .inject .AbstractModule ;
30
31
import org .elasticsearch .common .inject .Injector ;
@@ -151,14 +152,11 @@ public void beforeTest() {
151
152
types [i ] = randomFrom (currentTypes );
152
153
}
153
154
} else {
154
- /* norelease waiting for a fix on master that restores support for _all type
155
155
if (randomBoolean ()) {
156
156
types = new String []{MetaData .ALL };
157
157
} else {
158
158
types = new String [0 ];
159
159
}
160
- */
161
- types = new String [0 ];
162
160
}
163
161
//some query (e.g. range query) have a different behaviour depending on whether the current search context is set or not
164
162
//which is why we randomly set the search context, which will internally also do QueryParseContext.setTypes(types)
You can’t perform that action at this time.
0 commit comments