Skip to content

Fix xa transaction integration test#5270

Merged
KavinduZoysa merged 5 commits intoballerina-platform:masterfrom
dsameendra:fix_xa_trans_test
Apr 10, 2024
Merged

Fix xa transaction integration test#5270
KavinduZoysa merged 5 commits intoballerina-platform:masterfrom
dsameendra:fix_xa_trans_test

Conversation

@dsameendra
Copy link
Copy Markdown
Contributor

@dsameendra dsameendra commented Mar 22, 2024

Purpose

Resolves #5269 and #3414

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Comment thread ballerina/build.gradle
Comment thread stdlib-integration-tests/transaction/tests/xa_transactions_test.bal
    The transaction integration test requires the use of h2 databases and that dependency needs to be defined in the Ballerina.toml file. This was implemented by appending to the Ballerina.toml in the gradle task buildAndTestStand
ardLibs.
Comment thread stdlib-integration-tests/transaction/tests/xa_transactions_test.bal Outdated
Comment thread stdlib-integration-tests/transaction/tests/xa_transactions_test.bal Outdated
Comment thread stdlib-integration-tests/transaction/tests/xa_transactions_test.bal Outdated
Introduces a new function, `addH2Dependency`, to the build.gradle script. This function is responsible for appending the H2 database dependency details to the Ballerina TOML file.
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@dsameendra dsameendra marked this pull request as ready for review March 22, 2024 09:59
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2024

This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.

@github-actions github-actions Bot added the Stale label Apr 9, 2024
@poorna2152 poorna2152 removed the Stale label Apr 10, 2024
@KavinduZoysa KavinduZoysa added this pull request to the merge queue Apr 10, 2024
Merged via the queue into ballerina-platform:master with commit bf82539 Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix and enable failing xa transaction integration test

5 participants