karuppayya commented on code in PR #13675:
URL: https://github.com/apache/iceberg/pull/13675#discussion_r2304735947


##########
build.gradle:
##########
@@ -164,6 +164,19 @@ subprojects {
     }
   }
 
+  def testParallelism = project.findProperty('testParallelism')
+  if (testParallelism != null) {
+    def numTestWorkers
+    if (testParallelism.equals('auto')) {
+      numTestWorkers = Runtime.getRuntime().availableProcessors() / 2

Review Comment:
   nit: 
   though not common, can this become 0 when availableProcesors is 1 (May be 
jvm restrictions, pod running the test allocated single CPU).  



##########
build.gradle:
##########
@@ -164,6 +164,19 @@ subprojects {
     }
   }
 
+  def testParallelism = project.findProperty('testParallelism')
+  if (testParallelism != null) {
+    def numTestWorkers
+    if (testParallelism.equals('auto')) {

Review Comment:
   lowercase `testParallelism` before equality check?



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to