Skip to content
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

Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy #1045

Merged
merged 3 commits into from
Feb 4, 2025

Conversation

siddharthabingi
Copy link
Contributor

@siddharthabingi siddharthabingi commented Feb 4, 2025

Description

  • Fixing unit tests related to mlclient getTask
  • Adding integration test for workflow provisioning under multitenancy

Related Issues

#1025

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

@github-actions github-actions bot added the backport 2.x backport PRs to 2.x branch label Feb 4, 2025
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.53%. Comparing base (20a1d40) to head (6b79b68).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1045   +/-   ##
=========================================
  Coverage     75.53%   75.53%           
  Complexity     1050     1050           
=========================================
  Files           101      101           
  Lines          5215     5215           
  Branches        498      498           
=========================================
  Hits           3939     3939           
  Misses         1038     1038           
  Partials        238      238           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Already pushed this identical change here: fb5852f

@siddharthabingi siddharthabingi changed the title Fixing unit tests related to mlclient getTask Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy Feb 4, 2025
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewing after latest push. A few improvements can be made.

Signed-off-by: Siddhartha Bingi <[email protected]>
@dbwiddis dbwiddis merged commit e18afa6 into opensearch-project:main Feb 4, 2025
23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 4, 2025
…test for workflow provisioning under multitenancy (#1045)

* Fixing unit tests related to  mlclient getTask

Signed-off-by: Siddhartha Bingi <[email protected]>

* Adding integration tests for workflow provisioning under multitenancy

Signed-off-by: Siddhartha Bingi <[email protected]>

* Addressing comments

Signed-off-by: Siddhartha Bingi <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
(cherry picked from commit e18afa6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis pushed a commit that referenced this pull request Feb 4, 2025
…test for workflow provisioning under multitenancy (#1045)

* Fixing unit tests related to  mlclient getTask

Signed-off-by: Siddhartha Bingi <[email protected]>

* Adding integration tests for workflow provisioning under multitenancy

Signed-off-by: Siddhartha Bingi <[email protected]>

* Addressing comments

Signed-off-by: Siddhartha Bingi <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
(cherry picked from commit e18afa6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dbwiddis dbwiddis linked an issue Feb 4, 2025 that may be closed by this pull request
dbwiddis pushed a commit that referenced this pull request Feb 4, 2025
…ng integration test for workflow provisioning under multitenancy (#1046)

Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045)

* Fixing unit tests related to  mlclient getTask



* Adding integration tests for workflow provisioning under multitenancy



* Addressing comments



---------



(cherry picked from commit e18afa6)

Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddhartha Bingi <[email protected]>
vAdyar pushed a commit to vAdyar/flow-framework that referenced this pull request Feb 8, 2025
…test for workflow provisioning under multitenancy (opensearch-project#1045)

* Fixing unit tests related to  mlclient getTask

Signed-off-by: Siddhartha Bingi <[email protected]>

* Adding integration tests for workflow provisioning under multitenancy

Signed-off-by: Siddhartha Bingi <[email protected]>

* Addressing comments

Signed-off-by: Siddhartha Bingi <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>
joshpalis pushed a commit that referenced this pull request Feb 10, 2025
* Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045)

* Fixing unit tests related to  mlclient getTask

Signed-off-by: Siddhartha Bingi <[email protected]>

* Adding integration tests for workflow provisioning under multitenancy

Signed-off-by: Siddhartha Bingi <[email protected]>

* Addressing comments

Signed-off-by: Siddhartha Bingi <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>

* chore(deps): update aws-actions/configure-aws-credentials action to v4.0.3 (#1029)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* fix(deps): update dependency com.google.code.gson:gson to v2.12.1 (#1035)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* 1050: * Changed the indentation from spaces to tab.
* Included private no-args constructors.
* refactoring.

Signed-off-by: Vikas Adyar <[email protected]>

* fix(deps): update dependency software.amazon.cryptography:aws-cryptographic-material-providers to v1.9.0 (#1047)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* chore(deps): update plugin org.gradle.test-retry to v1.6.2 (#1052)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* fix(deps): update dependency org.dafny:dafnyruntime to v4.10.0 (#1053)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* Update template for alert summary with new log pattern tools (#1021)

* Update template for alert summary with log pattern

Signed-off-by: Sihan He <[email protected]>

* Update ChangeLog

Signed-off-by: Sihan He <[email protected]>

---------

Signed-off-by: Sihan He <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>

* JDK 11 compatible changes.

Signed-off-by: Vikas Adyar <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>
Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Sihan He <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: 000FLMS <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 10, 2025
* Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045)

* Fixing unit tests related to  mlclient getTask

Signed-off-by: Siddhartha Bingi <[email protected]>

* Adding integration tests for workflow provisioning under multitenancy

Signed-off-by: Siddhartha Bingi <[email protected]>

* Addressing comments

Signed-off-by: Siddhartha Bingi <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>

* chore(deps): update aws-actions/configure-aws-credentials action to v4.0.3 (#1029)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* fix(deps): update dependency com.google.code.gson:gson to v2.12.1 (#1035)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* 1050: * Changed the indentation from spaces to tab.
* Included private no-args constructors.
* refactoring.

Signed-off-by: Vikas Adyar <[email protected]>

* fix(deps): update dependency software.amazon.cryptography:aws-cryptographic-material-providers to v1.9.0 (#1047)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* chore(deps): update plugin org.gradle.test-retry to v1.6.2 (#1052)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* fix(deps): update dependency org.dafny:dafnyruntime to v4.10.0 (#1053)

Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Vikas Adyar <[email protected]>

* Update template for alert summary with new log pattern tools (#1021)

* Update template for alert summary with log pattern

Signed-off-by: Sihan He <[email protected]>

* Update ChangeLog

Signed-off-by: Sihan He <[email protected]>

---------

Signed-off-by: Sihan He <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>

* JDK 11 compatible changes.

Signed-off-by: Vikas Adyar <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>
Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Sihan He <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: 000FLMS <[email protected]>
(cherry picked from commit 2acbb56)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshpalis pushed a commit that referenced this pull request Feb 10, 2025
1050:  Reduce build warnings. (#1051)

* Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045)

* Fixing unit tests related to  mlclient getTask



* Adding integration tests for workflow provisioning under multitenancy



* Addressing comments



---------





* chore(deps): update aws-actions/configure-aws-credentials action to v4.0.3 (#1029)





* fix(deps): update dependency com.google.code.gson:gson to v2.12.1 (#1035)





* 1050: * Changed the indentation from spaces to tab.
* Included private no-args constructors.
* refactoring.



* fix(deps): update dependency software.amazon.cryptography:aws-cryptographic-material-providers to v1.9.0 (#1047)





* chore(deps): update plugin org.gradle.test-retry to v1.6.2 (#1052)





* fix(deps): update dependency org.dafny:dafnyruntime to v4.10.0 (#1053)





* Update template for alert summary with new log pattern tools (#1021)

* Update template for alert summary with log pattern



* Update ChangeLog



---------




* JDK 11 compatible changes.



---------









(cherry picked from commit 2acbb56)

Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: Vikas Adyar <[email protected]>
Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com>
Signed-off-by: Sihan He <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: 000FLMS <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add integration test for workflow provisioning under multitenancy
3 participants