kotman12 commented on PR #3477: URL: https://github.com/apache/solr/pull/3477#issuecomment-3197271945
> A general question I have is how can I make more than 1 core available to the test? When I run in intellij `Runtime.getRuntime().availableProcessors()` resolves to `1` despite my machine having more than 1 cpu available. I do see `-XX:ActiveProcessorCount=1` as a suggested setting in `gradle.properties` but this doesn't seem to do anything (same can be said about the apparent ActiveProcessorCount override in `turbocharge-jvm-opts.gradle`). I assume when this runs on the build server EXECUTOR_MAX_CPU_THREADS may resolve to values greater than 1? For posterity, the way you override this (as of the writing of this comment at least) is by updating `tests.jvmargs` to some `-XX:ActiveProcessorCount=N` in the `defaults-tests.gradle` file. I must have overlooked this in my first string search of this property. -- 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]
