Skip to content

MOSIP-45741: Use apitest-commons 1.8.0-SNAPSHOT in the masterdata api-test - #1395

Open
jayesh12234 wants to merge 1 commit into
mosip:developfrom
jayesh12234:MOSIP-45741
Open

jayesh12234 wants to merge 1 commit into
mosip:developfrom
jayesh12234:MOSIP-45741

Conversation

@jayesh12234

@jayesh12234 jayesh12234 commented Nov 5, 2026 •

Copy link
Copy Markdown

Jira: MOSIP-45741

Depends on: mosip/mosip-functional-tests#2012

Change

api-test/pom.xml: apitest-commons 1.6.0 → 1.8.0-SNAPSHOT.

Why

The masterdata api-test should run on the current apitest-commons. 1.8.0-SNAPSHOT uses Hibernate 6.4.4, where DBManager must commit the cleanup transaction (fixed in mosip/mosip-functional-tests#2012). Without that fix the test-rig DB cleanup (masterDataDeleteQueries.txt) is rolled back, the setup zone mapping of the run user to the root zone MOR stays, and these tests fail:

  • TC_Masterdata_UpdateRegistrationCenter_05 (KER-MSD-346 before the expected KER-MSD-307)
  • TC_Masterdata_RegCenterFilter_04 (KER-MSD-317)
  • TC_Masterdata_CreateZoneUser_01 (KER-USR-021, 12 dependent tests skipped)
  • TC_Masterdata_CreateMachine_07, _08, TC_Masterdata_UpdateMachine_06, _07

Testing

  • mvn compile of api-test passes with apitest-commons 1.8.0-SNAPSHOT.
  • Masterdata run on the released environment with 1.8.0-SNAPSHOT including the #2012 fix: English run T-945, P-944, S-0, F-1. The one failure, TC_Masterdata_FetchAllUserDetails_01 (KER-USR-004), is an environment issue that also fails with 1.6.0.

…-test

Move the masterdata api-test from apitest-commons 1.6.0 to the current
1.8.0-SNAPSHOT. 1.8.0-SNAPSHOT runs on Hibernate 6.4.4, where DBManager
needs the commit fix from mosip/mosip-functional-tests#2012; without it
the test-rig DB cleanup is rolled back, the setup zone mapping of the run
user to the root zone stays, and UpdateRegistrationCenter_05,
RegCenterFilter_04, CreateZoneUser_01 and the machine zone tests fail.

Signed-off-by: Jayesh Kharode <jayesh.kharode@technoforte.co.in>
@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI; Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d57a7e37-2a62-4cbc-bc74-bd3da3a614e1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@jayesh12234 jayesh12234 closed this Nov 6, 2026
@jayesh12234 jayesh12234 reopened this Nov 6, 2026
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.

3 participants