diff --git a/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java b/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java index c5f6aee13..4fe726ef8 100644 --- a/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java +++ b/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java @@ -692,7 +692,7 @@ protected List catPlugins() throws IOException { "_cat/plugins?s=component&h=name,component,version,description&format=json", null, "", - ImmutableList.of(new BasicHeader(HttpHeaders.USER_AGENT, "")) + List.of(new BasicHeader(HttpHeaders.USER_AGENT, "")) ); List pluginsList = JsonXContent.jsonXContent.createParser( NamedXContentRegistry.EMPTY,