Skip to content

Conversation

rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Oct 8, 2025

No description provided.

Copy link

github-actions bot commented Oct 8, 2025

Copyright Validation Results
Total: 6 | Passed: 2 | Failed: 0 | Skipped: 4 | at: 2025-10-08 18:06:29 UTC | commit: eaeacb0

⏭️ Skipped (Excluded) Files

  • .copyrightconfig
  • Jenkinsfile
  • docker-compose.yaml
  • test-app/README.md

✅ Valid Files

  • marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/fastfunctest/TestDatabaseClientConnection.java
  • marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/BulkIOCallersFnTest.java

✅ All files have valid copyright headers!

@rjrudin rjrudin force-pushed the feature/24523-huh branch 3 times, most recently from fc6ea2b to 8040575 Compare October 8, 2025 17:46
Lots of little improvements to Jenkinsfile too.
@rjrudin rjrudin force-pushed the feature/24523-huh branch from 8040575 to eaeacb0 Compare October 8, 2025 18:05
@rjrudin rjrudin changed the title MLE-24523 Debugging Jenkinsfile MLE-24523 Getting reverse proxy tests running again Oct 8, 2025
@rjrudin rjrudin marked this pull request as ready for review October 8, 2025 18:06
@Copilot Copilot AI review requested due to automatic review settings October 8, 2025 18:06
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 is focused on fixing and re-enabling reverse proxy server tests that were previously commented out. The main goal is to resolve configuration issues that were preventing these tests from running correctly.

Key changes include:

  • Updated port configurations for test environments
  • Fixed Gradle task references for reverse proxy server execution
  • Re-enabled previously disabled reverse proxy test stages in Jenkins pipeline

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test-app/README.md Added documentation for running tests with reverse proxy server
marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/BulkIOCallersFnTest.java Changed test port from 8093 to 8015
marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/fastfunctest/TestDatabaseClientConnection.java Updated error message assertion to be more flexible
docker-compose.yaml Consolidated port mappings and added comment explaining port range
Jenkinsfile Re-enabled reverse proxy tests, updated Docker images, and fixed Gradle task references
.copyrightconfig Added docker-compose.yaml to excluded files list

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
cd java-client-api
./gradlew -PtestUseReverseProxyServer=true test-app:runReverseProxyServer marklogic-client-api-functionaltests:runFragileTests || true
./gradlew -PtestUseReverseProxyServer=true runReverseProxyServer marklogic-client-api-functionaltests:runFragileTests || true
Copy link

Copilot AI Oct 8, 2025

Choose a reason for hiding this comment

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

The Gradle task reference has been changed from test-app:runReverseProxyServer to runReverseProxyServer across multiple lines. Ensure this task is defined at the root project level or verify that the task resolution works correctly without the project prefix.

Copilot uses AI. Check for mistakes.

export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
cd java-client-api
./gradlew -PtestUseReverseProxyServer=true test-app:runReverseProxyServer marklogic-client-api-functionaltests:runFastFunctionalTests || true
./gradlew -PtestUseReverseProxyServer=true runReverseProxyServer marklogic-client-api-functionaltests:runFastFunctionalTests || true
Copy link

Copilot AI Oct 8, 2025

Choose a reason for hiding this comment

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

The Gradle task reference has been changed from test-app:runReverseProxyServer to runReverseProxyServer across multiple lines. Ensure this task is defined at the root project level or verify that the task resolution works correctly without the project prefix.

Copilot uses AI. Check for mistakes.

export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
cd java-client-api
./gradlew -PtestUseReverseProxyServer=true test-app:runReverseProxyServer marklogic-client-api-functionaltests:runSlowFunctionalTests || true
./gradlew -PtestUseReverseProxyServer=true runReverseProxyServer marklogic-client-api-functionaltests:runSlowFunctionalTests || true
Copy link

Copilot AI Oct 8, 2025

Choose a reason for hiding this comment

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

The Gradle task reference has been changed from test-app:runReverseProxyServer to runReverseProxyServer across multiple lines. Ensure this task is defined at the root project level or verify that the task resolution works correctly without the project prefix.

Copilot uses AI. Check for mistakes.

To run one or more tests with the reverse proxy server being started, the tests being run, and then the server being
stopped, do the following (you can see examples of this in the project `Jenkinsfile` as well):

./gradlew -PtestUseReverseProxyServer=true runReverseProxyServer marklogic-client-api:test --tests ReadDocumentPageTest
Copy link

Copilot AI Oct 8, 2025

Choose a reason for hiding this comment

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

[nitpick] The indentation uses tabs instead of spaces, which is inconsistent with the rest of the documentation that uses spaces. Consider using consistent spacing for better readability.

Suggested change
./gradlew -PtestUseReverseProxyServer=true runReverseProxyServer marklogic-client-api:test --tests ReadDocumentPageTest
./gradlew -PtestUseReverseProxyServer=true runReverseProxyServer marklogic-client-api:test --tests ReadDocumentPageTest

Copilot uses AI. Check for mistakes.

@rjrudin rjrudin merged commit 1ca0f9c into develop Oct 8, 2025
5 checks passed
@rjrudin rjrudin deleted the feature/24523-huh branch October 8, 2025 18:12
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.

1 participant