-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add IT flow agent with search index tool #2448
Conversation
Signed-off-by: Jing Zhang <[email protected]>
|
||
@Before | ||
public void setup() throws IOException, ParseException { | ||
ingestIrisData(irisIndex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to merge this IT with RestMLTrainAndPredictIT, to save time in the ingesting irisIndex before and delete it after?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to have it in agent IT, as it is for agent framework testing. And it can be reused for other agent test cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for this test. But I think we can delete RestMLTrainAndPredictIT, and move the tests with new names inside this agentIT to save IT time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion we still need to separate the ITs by its category unless there is obvious concern due to maintainability. Consuming same index doesn't necessarily mean they need to be merged together.
Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit 99e75aa)
Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit 99e75aa)
* add IT flow agent with search index tool (#2448) Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit 99e75aa) * fix import error (#2527) Signed-off-by: yuye-aws <[email protected]> * Fix:run spotless apply for branch Backport/backport 2448 to 2.x (#2529) * fix import error Signed-off-by: yuye-aws <[email protected]> * spotless apply Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> Co-authored-by: Jing Zhang <[email protected]> Co-authored-by: yuye-aws <[email protected]>
* add IT flow agent with search index tool (#2448) Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit 99e75aa) * fix import error (#2527) Signed-off-by: yuye-aws <[email protected]> * Fix:run spotless apply for branch Backport/backport 2448 to 2.x (#2529) * fix import error Signed-off-by: yuye-aws <[email protected]> * spotless apply Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> Co-authored-by: Jing Zhang <[email protected]> Co-authored-by: yuye-aws <[email protected]> (cherry picked from commit d6ec823)
* add IT flow agent with search index tool (#2448) Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit 99e75aa) * fix import error (#2527) Signed-off-by: yuye-aws <[email protected]> * Fix:run spotless apply for branch Backport/backport 2448 to 2.x (#2529) * fix import error Signed-off-by: yuye-aws <[email protected]> * spotless apply Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> Co-authored-by: Jing Zhang <[email protected]> Co-authored-by: yuye-aws <[email protected]> (cherry picked from commit d6ec823) Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Description
IT test case: flow agent + searchIndexTool
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.