Improve BWC

Original commit: elastic/x-pack-elasticsearch@f84cb5b1fa
This commit is contained in:
Daniel Mitterdorfer 2016-12-21 16:43:55 +01:00
parent fa1219fd13
commit b973d10685
3 changed files with 12 additions and 6 deletions

View File

@ -250,6 +250,18 @@ public class WatcherXContentParser implements XContentParser {
return parser.booleanValue();
}
@Override
@SuppressWarnings("deprecated")
public boolean isBooleanValueLenient() throws IOException {
return parser.isBooleanValueLenient();
}
@Override
@SuppressWarnings("deprecated")
public boolean booleanValueLenient() throws IOException {
return parser.booleanValueLenient();
}
@Override
public byte[] binaryValue() throws IOException {
return parser.binaryValue();

View File

@ -116,8 +116,6 @@ public abstract class AbstractOldXPackIndicesBackwardsCompatibilityTestCase exte
}
}
//TODO dm: fix me
@AwaitsFix(bugUrl = "We need to fix BWC first")
public void testOldIndexes() throws Exception {
Collections.shuffle(dataFiles, random());
for (String dataFile : dataFiles) {

View File

@ -58,8 +58,6 @@ public class ESNativeMigrateToolTests extends NativeRealmIntegTestCase {
return internalCluster().getInstances(Environment.class).iterator().next();
}
//TODO dm: fix me
@AwaitsFix(bugUrl = "We need to fix BWC first")
public void testRetrieveUsers() throws Exception {
final Environment nodeEnvironment = nodeEnvironment();
String home = Environment.PATH_HOME_SETTING.get(nodeEnvironment.settings());
@ -100,8 +98,6 @@ public class ESNativeMigrateToolTests extends NativeRealmIntegTestCase {
}
}
//TODO dm: fix me
@AwaitsFix(bugUrl = "We need to fix BWC first")
public void testRetrieveRoles() throws Exception {
final Environment nodeEnvironment = nodeEnvironment();
String home = Environment.PATH_HOME_SETTING.get(nodeEnvironment.settings());