Skip to content

Commit a0b11e0

Browse files
committed
forbidden api
1 parent 5f5b4f8 commit a0b11e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/slm/src/javaRestTest/java/org/elasticsearch/xpack/slm/SnapshotLifecycleRestIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.elasticsearch.common.compress.CompressedXContent;
2323
import org.elasticsearch.common.settings.Settings;
2424
import org.elasticsearch.common.xcontent.XContentHelper;
25+
import org.elasticsearch.core.SuppressForbidden;
2526
import org.elasticsearch.core.TimeValue;
2627
import org.elasticsearch.test.cluster.ElasticsearchCluster;
2728
import org.elasticsearch.test.cluster.local.distribution.DistributionType;
@@ -67,6 +68,7 @@
6768
import static org.hamcrest.Matchers.not;
6869
import static org.hamcrest.Matchers.startsWith;
6970

71+
@SuppressForbidden(reason = "TemporaryFolder uses java.io.File")
7072
public class SnapshotLifecycleRestIT extends ESRestTestCase {
7173
private static final String NEVER_EXECUTE_CRON_SCHEDULE = "* * * 31 FEB ? *";
7274

0 commit comments

Comments
 (0)