Skip to content

Compile and run tests in Claude cloud environment #3644

Open
luis100 wants to merge 1 commit intodevelopmentfrom
claude/compile-run-tests-XQfGl
Open

Compile and run tests in Claude cloud environment #3644
luis100 wants to merge 1 commit intodevelopmentfrom
claude/compile-run-tests-XQfGl

Conversation

@luis100
Copy link
Copy Markdown
Member

@luis100 luis100 commented Apr 6, 2026

No description provided.

The default zkConnectTimeout of 15s in SolrJ causes SolrZkClient to call
ZooKeeper.close() if the ZK session isn't established in time. That close()
sends a CLOSESESSION packet then waits indefinitely in Object.wait() with
no timeout, because the ZK background threads are already gone — hanging
the test JVM forever.

Changes:
- RodaCoreFactory.instantiateSolr(): add withZkConnectTimeout(300s) to the
  CloudSolrClient.Builder so SolrZkClient has enough time to establish the
  ZK session before panicking
- roda-core.properties: raise connect timeout to 300s, document zk.client.timeout_ms
- TestContainersManager: set zkConnectTimeout and RODA_CORE_SOLR_CLOUD_ZK_CONNECT_TIMEOUT_MS
  system properties as belt-and-suspenders fallback
- roda-core-tests/pom.xml: add 172.*/192.* to http.nonProxyHosts in surefire
  argLine so Docker container IPs bypass the HTTPS proxy
- testng-single.xml: single-class TestNG suite file for fast targeted test runs
- CLAUDE.md: document cloud environment workflow (Docker startup, build commands,
  single-test shortcut, proxy quirks, ZK/Solr notes, pre-PR checklist)

Verified: IndexServiceTest 17/17 tests pass with this fix.

https://claude.ai/code/session_01XRhDcKRQtCBua46PGom5dx
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Apr 6, 2026
@luis100 luis100 changed the title Add httpcore dependency Compile and run tests in Claude cloud environment Apr 6, 2026
@luis100 luis100 changed the base branch from master to development April 6, 2026 20:37
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. dependencies Pull requests that update a dependency file and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants