Re-enable data stream bwc tests (#59734)
after backporting #59503 Backport of #59732 yo 7.x
This commit is contained in:
parent
0096238df1
commit
74c9402912
|
@ -871,7 +871,6 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void testDataStreams() throws Exception {
|
public void testDataStreams() throws Exception {
|
||||||
assumeTrue("fail until #59503 is backported to 7.x and 7.9", false);
|
|
||||||
assumeTrue("no data streams in versions before " + Version.V_7_9_0, getOldClusterVersion().onOrAfter(Version.V_7_9_0));
|
assumeTrue("no data streams in versions before " + Version.V_7_9_0, getOldClusterVersion().onOrAfter(Version.V_7_9_0));
|
||||||
if (isRunningAgainstOldCluster()) {
|
if (isRunningAgainstOldCluster()) {
|
||||||
createComposableTemplate(client(), "dst", "ds");
|
createComposableTemplate(client(), "dst", "ds");
|
||||||
|
|
|
@ -19,7 +19,7 @@ import static org.elasticsearch.upgrades.IndexingIT.assertCount;
|
||||||
public class DataStreamsUpgradeIT extends AbstractUpgradeTestCase {
|
public class DataStreamsUpgradeIT extends AbstractUpgradeTestCase {
|
||||||
|
|
||||||
public void testDataStreams() throws IOException {
|
public void testDataStreams() throws IOException {
|
||||||
assumeTrue("fail until #59503 is backported to 7.x and 7.9", false);
|
assumeTrue("no data streams in versions before " + Version.V_7_9_0, UPGRADE_FROM_VERSION.onOrAfter(Version.V_7_9_0));
|
||||||
assumeTrue("data streams supported from 7.9.0", UPGRADE_FROM_VERSION.onOrAfter(Version.V_7_9_0));
|
assumeTrue("data streams supported from 7.9.0", UPGRADE_FROM_VERSION.onOrAfter(Version.V_7_9_0));
|
||||||
if (CLUSTER_TYPE == ClusterType.OLD) {
|
if (CLUSTER_TYPE == ClusterType.OLD) {
|
||||||
String requestBody = "{\n" +
|
String requestBody = "{\n" +
|
||||||
|
|
Loading…
Reference in New Issue