Skip to content

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Jan 15, 2026

Some test failures on Jenkins due to a test plumbing issue.

Copilot AI review requested due to automatic review settings January 15, 2026 19:31
@github-actions
Copy link

github-actions bot commented Jan 15, 2026

Copyright Validation Results
Total: 1 | Passed: 1 | Failed: 0 | Skipped: 0 | at: 2026-01-15 19:33:58 UTC | commit: 0848de1

✅ Valid Files

  • marklogic-client-api/src/test/java/com/marklogic/client/test/AbstractClientTest.java

✅ All files have valid copyright headers!

Copy link

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 test failures on Jenkins by fixing a test data cleanup issue in the test setup code. The problem stems from documents in the /acme/ directory that were previously deleted by AbstractOpticUpdateTest but are now being created by other tests with the test-data collection.

Changes:

  • Updated the JavaScript query used for deleting documents before test runs to include the /acme/ directory

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Override
protected final String getJavascriptForDeletingDocumentsBeforeTestRuns() {
// The "/acme/" directory was previously deleted by AbstractOpticUpdateTest. It still needs to be deleted
// some tests end up copying URIs to that directory but retain the 'test-data' collection.
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The comment should start with a capital letter. Change 'some tests' to 'Some tests' at the beginning of line 24.

Suggested change
// some tests end up copying URIs to that directory but retain the 'test-data' collection.
// Some tests end up copying URIs to that directory but retain the 'test-data' collection.

Copilot uses AI. Check for mistakes.
@rjrudin rjrudin force-pushed the feature/failing-tests branch from 6ea9b3b to d474a2e Compare January 15, 2026 19:33
Some test failures on Jenkins due to a test plumbing issue.
@rjrudin rjrudin force-pushed the feature/failing-tests branch from d474a2e to 0848de1 Compare January 15, 2026 19:33
@rjrudin rjrudin merged commit 95b274c into develop Jan 15, 2026
4 checks passed
@rjrudin rjrudin deleted the feature/failing-tests branch January 15, 2026 20:18
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