Test: IT testSystemIndexMetadataIsUpgraded requires 7.10 (#84830)

FullClusterRestartIT.testSystemIndexMetadataIsUpgraded assumes
the `.tasks` index is a system index, which became true in 7.10.

Fixes: #81409
This commit is contained in:
Stuart Tettemer 2022-03-10 10:39:22 -06:00 committed by GitHub
parent 744e5f72ae
commit 5b1be93241
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1591,8 +1591,8 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
}
@SuppressWarnings("unchecked")
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/81409")
public void testSystemIndexMetadataIsUpgraded() throws Exception {
assumeTrue(".tasks became a system index in 7.10.0", getOldClusterVersion().onOrAfter(Version.V_7_10_0));
final String systemIndexWarning = "this request accesses system indices: [.tasks], but in a future major version, direct "
+ "access to system indices will be prevented by default";
if (isRunningAgainstOldCluster()) {