uschindler commented on code in PR #12905: URL: https://github.com/apache/lucene/pull/12905#discussion_r1429672383
########## gradle/testing/randomization/policies/tests.policy: ########## @@ -60,6 +60,9 @@ grant { permission java.lang.RuntimePermission "getFileStoreAttributes"; permission java.lang.RuntimePermission "writeFileDescriptor"; + // needed to check if C2 (implied by the presence of the CI env) is enabled + permission java.lang.RuntimePermission "getenv.CI"; Review Comment: Yes this works. Gradle enables Tiered compiler if Jenkins or GitHub is detected. https://github.com/apache/lucene/blob/f6582ce04830b0122de90a045f1abc595a411aa1/gradle/testing/defaults-tests.gradle#L54 -- 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...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org