This is an automated email from the ASF dual-hosted git repository.
more pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/master by this push:
new ca20289 KNOX-2700 - Fix broken unit tests (#528)
ca20289 is described below
commit ca202894f3e83b4e49f131b320a656f7732d8c5d
Author: Sandeep Moré <[email protected]>
AuthorDate: Sat Jan 15 16:22:16 2022 -0500
KNOX-2700 - Fix broken unit tests (#528)
---
.../src/test/java/org/apache/knox/gateway/SecureKnoxShellTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/gateway-test-release/webhdfs-kerb-test/src/test/java/org/apache/knox/gateway/SecureKnoxShellTest.java
b/gateway-test-release/webhdfs-kerb-test/src/test/java/org/apache/knox/gateway/SecureKnoxShellTest.java
index 3e72780..84861a9 100644
---
a/gateway-test-release/webhdfs-kerb-test/src/test/java/org/apache/knox/gateway/SecureKnoxShellTest.java
+++
b/gateway-test-release/webhdfs-kerb-test/src/test/java/org/apache/knox/gateway/SecureKnoxShellTest.java
@@ -300,8 +300,7 @@ public class SecureKnoxShellTest {
binding.setProperty("file", file.getAbsolutePath());
final GroovyShell shell = new GroovyShell(binding);
-
- shell.evaluate(TestUtils.getResourceUrl(SCRIPT).toURI());
+ shell.evaluate(driver.getResourceUrl(SCRIPT).toURI());
String status = (String) binding.getProperty("status");
assertNotNull(status);