Skip to content

Commit d9a6cd7

Browse files
author
Rajat Gupta
committed
Add test.policy files for failing tests
Signed-off-by: Rajat Gupta <[email protected]>
1 parent 86b709e commit d9a6cd7

File tree

3 files changed

+23
-0
lines changed
  • client/rest-high-level/src/test/resources/org/opensearch/bootstrap
  • libs
    • common/src/test/resources/org/opensearch/bootstrap
    • ssl-config/src/test/resources/org/opensearch/bootstrap

3 files changed

+23
-0
lines changed

client/rest-high-level/src/test/resources/org/opensearch/bootstrap/test.policy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
grant {
1010
permission java.net.SocketPermission "*", "connect,resolve";
1111
permission java.net.NetPermission "accessUnixDomainSocket";
12+
permission java.io.FilePermission "${user.home}/-", "read,write,delete";
1213
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* The OpenSearch Contributors require contributions made to
5+
* this file be licensed under the Apache-2.0 license or a
6+
* compatible open source license.
7+
*/
8+
9+
grant {
10+
permission java.io.FilePermission "${user.home}/-", "read,write,delete";
11+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* The OpenSearch Contributors require contributions made to
5+
* this file be licensed under the Apache-2.0 license or a
6+
* compatible open source license.
7+
*/
8+
9+
grant {
10+
permission java.io.FilePermission "${user.home}/-", "read,write,delete";
11+
};

0 commit comments

Comments
 (0)