/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License;
 * you may not use this file except in compliance with the Elastic License.
 */
package org.elasticsearch.xpack.prelert.integration;

import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate;
import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase;
import org.elasticsearch.test.rest.yaml.parser.ClientYamlTestParseException;
import org.junit.After;

import java.io.IOException;

/** Rest integration test. Runs against a cluster started by {@code gradle integTest} */
public class PrelertYamlTestSuiteIT extends ESClientYamlSuiteTestCase {

    public PrelertYamlTestSuiteIT(ClientYamlTestCandidate testCandidate) {
        super(testCandidate);
    }

    @ParametersFactory
    public static Iterable<Object[]> parameters() throws IOException, ClientYamlTestParseException {
        return createParameters();
    }

    @After
    public void clearPrelertState() throws IOException {
        new PrelertRestTestStateCleaner(client(), this).clearPrelertMetadata();
    }
}

@@ -498,85 +498,8 @@
 se;%0A
-import org.elasticsearch.test.rest.yaml.parser.ClientYamlTestParseException;%0A
 impo
@@ -917,38 +917,8 @@
 tion
-, ClientYamlTestParseException
  %7B%0A 

Fix compilation after upstream changes