Fix broke bwc test in sql

The test was enabled for the wrong versions....

Original commit: elastic/x-pack-elasticsearch@2662a11e0c
This commit is contained in:
Nik Everett 2017-08-09 15:58:47 -04:00
parent f7d526036e
commit 2b2f831116
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ public class FullClusterRestartIT extends ESRestTestCase {
public void testSqlFailsOnIndexWithTwoTypes() throws IOException {
// TODO this isn't going to trigger until we backport to 6.1
assumeTrue("It is only possible to build an index that sql doesn't like before 6.0.0",
oldClusterVersion.onOrAfter(Version.V_6_0_0_alpha1));
oldClusterVersion.before(Version.V_6_0_0_alpha1));
if (runningAgainstOldCluster) {
client().performRequest("POST", "/testsqlfailsonindexwithtwotypes/type1", emptyMap(),
new StringEntity("{}", ContentType.APPLICATION_JSON));