This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new ce30cdc9386 SOLR-17783: Disable securityManager for GCS Tests on
Windows
ce30cdc9386 is described below
commit ce30cdc9386cc8dce78bbfc08a65aae70bfd2912
Author: Houston Putman <[email protected]>
AuthorDate: Fri Jun 13 11:50:39 2025 -0500
SOLR-17783: Disable securityManager for GCS Tests on Windows
---
solr/modules/gcs-repository/build.gradle | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/solr/modules/gcs-repository/build.gradle
b/solr/modules/gcs-repository/build.gradle
index 3e010f2b21d..d8a7787b641 100644
--- a/solr/modules/gcs-repository/build.gradle
+++ b/solr/modules/gcs-repository/build.gradle
@@ -1,3 +1,5 @@
+import org.apache.tools.ant.taskdefs.condition.Os
+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -19,6 +21,11 @@ apply plugin: 'java-library'
description = 'GCS Backup Repository'
+ext {
+ // Use of the security manager is not supported on windows.
+ useSecurityManager = !Os.isFamily(Os.FAMILY_WINDOWS)
+}
+
dependencies {
implementation platform(project(':platform'))
api project(':solr:core')