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

[Bug]: Unable to retrieve registry value when running unit tests #3606

Closed
veneerac opened this issue Sep 12, 2024 · 0 comments · Fixed by wso2/integration-studio#1375
Closed
Labels

Comments

@veneerac
Copy link

Description

when running a unit test suite Unable to retrieve registry value.

Steps to Reproduce

  1. Create the Integration Studio Test case project as in [1]

we can use the below property to access the registry properties files as in [2]

  1. Use the sh micro-integrator.sh -DsynapseTest command to start the MI

  2. Once we run the unit tests, Unable to retrieve the registry value.

when running a unit test suite, the test case data (including relevant test artifacts and supportive artifacts like registry resources, connectors, etc.) is passed to the unit test framework implementation at the Synapse level and registry property details are not received along with this data

[1] https://mi.docs.wso2.com/en/latest/develop/creating-unit-test-suite/
[2] https://mi.docs.wso2.com/en/latest/develop/creating-artifacts/registry/creating-local-registry-entries/

Affected Version(s)

4.2.0

OS, DB, other environment details and versions

No response

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

GDLMadushanka added a commit to GDLMadushanka/integration-studio that referenced this issue Oct 7, 2024
Add functionality to include registry properties in synapse unit tests.
Fixes wso2/micro-integrator/issues/3606
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant