Skip to content

MLE-12345 clearDB now uses admin user #1806

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged

MLE-12345 clearDB now uses admin user #1806

merged 1 commit into from
Jul 23, 2025

Conversation

rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Jul 23, 2025

The previous change caused a bunch of errors because the non-admin user couldn't delete everything. Also deleted some unused code that Intellij flagged.

The previous change caused a bunch of errors because the non-admin user couldn't delete everything. Also deleted some unused code that Intellij flagged.
@Copilot Copilot AI review requested due to automatic review settings July 23, 2025 22:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses a database clearing issue in the MarkLogic client functional tests by switching from a regular user to an admin user for the clearDB operation. The change was necessary because the previous implementation failed when the non-admin user lacked sufficient privileges to delete all database content.

  • Modified clearDB method to use admin credentials instead of default user credentials
  • Removed unused code including imports, variables, and methods identified by IntelliJ

@rjrudin rjrudin merged commit 1d4d9c5 into develop Jul 23, 2025
2 checks passed
@rjrudin rjrudin deleted the feature/test-fix branch July 23, 2025 22:36
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.

2 participants