Skip to content

Commit e9f37df

Browse files
committed
Update IT to work with session tokens.
Signed-off-by: Austin Lee <[email protected]>
1 parent e93f7a6 commit e9f37df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugin/src/test/java/org/opensearch/ml/rest/RestMLRAGSearchProcessorIT.java

+6
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ public class RestMLRAGSearchProcessorIT extends RestMLRemoteInferenceIT {
199199
+ "\",\n"
200200
+ " \"secret_key\": \""
201201
+ AWS_SECRET_ACCESS_KEY
202+
+ "\",\n"
203+
+ " \"session_token\": \""
204+
+ AWS_SESSION_TOKEN
202205
+ "\"\n"
203206
+ " },\n"
204207
+ " \"actions\": [\n"
@@ -239,6 +242,9 @@ public class RestMLRAGSearchProcessorIT extends RestMLRemoteInferenceIT {
239242
+ "\",\n"
240243
+ " \"secret_key\": \""
241244
+ AWS_SECRET_ACCESS_KEY
245+
+ "\",\n"
246+
+ " \"session_token\": \""
247+
+ AWS_SESSION_TOKEN
242248
+ "\"\n"
243249
+ " },\n"
244250
+ " \"actions\": [\n"

0 commit comments

Comments
 (0)