janhoy opened a new pull request, #5399: URL: https://github.com/apache/solr/pull/5399
https://issues.apache.org/jira/browse/SOLR-18650 On Windows, example nodes started by `RunExampleTool` lost every `SOLR_*` variable, so e.g. an exported `SOLR_HEAP`, `SOLR_OPTS` or `SOLR_INCLUDE` was silently ignored for `-e` examples while Linux honours them. - `bin\solr.cmd` saves the caller's own `SOLR_*` variables as `CALLER_SOLR_*` before changing any (the example tool runs inside `solr.cmd`, whose `SOLR_*` variables are its own working state), and `RunExampleTool` passes exactly those to the nodes, matching what `bin/solr` nodes inherit - The example still owns ports, Solr home and the ZooKeeper address, passed as explicit arguments - Also quotes `--jvm-opts` for the nodes on Windows: `cmd.exe` split it at `=`, so the node's `solr.cmd` got a broken command line - `ExampleTest` now runs on Windows too; only the open-file-limit test stays bash-only Not in scope: on Windows `--solr-home` is still not forwarded to the example (SOLR-18652), so it writes under `example\cloud`. Verification: on a Windows 11 ARM64 VM, `ExampleTest` fails without these commits and passes with them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
