We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94c543b commit 3cca0d5Copy full SHA for 3cca0d5
hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestExternalCall.java
@@ -66,8 +66,8 @@ private static Configuration getConf() {
66
@BeforeEach
67
public void setup() {
68
69
- securityManager = System.getSecurityManager();
70
try {
+ securityManager = System.getSecurityManager();
71
System.setSecurityManager(new NoExitSecurityManager());
72
} catch (UnsupportedOperationException e) {
73
assumeTrue(false, "Test is skipped because SecurityManager cannot be set (JEP 411)");
0 commit comments