Skip to content

MLE-31642 infostudio-user removal test fixes - #1962

Merged
jonmille merged 1 commit into
developfrom
MLE-31642-infostudio-user-removal
Jul 31, 2026
Merged

MLE-31642 infostudio-user removal test fixes#1962
jonmille merged 1 commit into
developfrom
MLE-31642-infostudio-user-removal

Conversation

@jonmille

Copy link
Copy Markdown

Removed the infostudio-user role since it has been removed from MLS. Added the update capability to the app-user role.
These changes fixed these 3 failing tests:

  • testWriteMultipleXMLDocWithXMLMetadata
  • testMetadataXMLCRUD
  • testRollbackMetadata

Fix verification (3 previously failing tests):

.\gradlew marklogic-client-api-functionaltests:test --tests "com.marklogic.client.fastfunctest.TestBulkWriteMetadatawithRawXML.testWriteMultipleXMLDocWithXMLMetadata" --tests "com.marklogic.client.fastfunctest.TestMetadataXML.testMetadataXMLCRUD" --tests "com.marklogic.client.fastfunctest.TestRollbackTransaction.testRollbackMetadata"

Regression tests (14 app-user test classes):

.\gradlew marklogic-client-api-functionaltests:test --tests "com.marklogic.client.fastfunctest.TestMetadata" --tests "com.marklogic.client.fastfunctest.TestBulkWriteMetadata1" --tests "com.marklogic.client.fastfunctest.TestBulkWriteMetadata2" --tests "com.marklogic.client.fastfunctest.TestBulkReadWriteMetaDataChange" --tests "com.marklogic.client.fastfunctest.TestBulkReadWriteWithJacksonDataBind" --tests "com.marklogic.client.fastfunctest.TestBulkReadWriteWithJacksonHandle" --tests "com.marklogic.client.fastfunctest.TestBulkReadWriteWithJacksonParserHandle" --tests "com.marklogic.client.fastfunctest.TestBulkSearchWithStrucQueryDef" --tests "com.marklogic.client.fastfunctest.TestBulkWriteWithTransactions" --tests "com.marklogic.client.fastfunctest.TestJacksonAnnotationsTest" --tests "com.marklogic.client.fastfunctest.TestPOJOMissingIdGetSetMethod" --tests "com.marklogic.client.fastfunctest.TestPOJOWithDocsStoredByOthers" --tests "com.marklogic.client.fastfunctest.TestSearchOptions" --tests "com.marklogic.client.functionaltest.TestBiTempMetaValues"

Run both from java-client-api with the MarkLogic Docker container running and mlDeploy already applied. The regression command takes ~6 minutes due to TestBiTempMetaValues.

Jira Ticket: https://progresssoftware.atlassian.net/browse/MLE-31642
Relates to MLS story: https://progresssoftware.atlassian.net/browse/MLE-29360

Removed the infostudio-user role since it has been removed from MLS.
Added the update capability to the app-user role.
These changes fixed these 3 failing tests:
- testWriteMultipleXMLDocWithXMLMetadata
- testMetadataXMLCRUD
- testRollbackMetadata
Copilot AI review requested due to automatic review settings July 31, 2026 13:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates functional test metadata fixtures to align with recent MLS role changes by removing the infostudio-user permission and ensuring app-user has update capability. This unblocks metadata-related functional tests that depend on permissions in the XML metadata payload.

Changes:

  • Removed infostudio-user permission block from metadata-updated.xml.
  • Added update capability to app-user in metadata-updated.xml.
  • Normalized trailing whitespace in the metadata XML.

@jonmille
jonmille merged commit c57cd4f into develop Jul 31, 2026
4 of 5 checks passed
@jonmille
jonmille deleted the MLE-31642-infostudio-user-removal branch July 31, 2026 17:05
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.

4 participants