You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by mo...@apache.org on 2022/01/24 20:39:50 UTC

[knox] 01/02: KNOX-2631 - Fix unit test

This is an automated email from the ASF dual-hosted git repository.

more pushed a commit to branch webshell
in repository https://gitbox.apache.org/repos/asf/knox.git

commit f6201a31ad5290ed18ad34a6d36582c1846cd538
Author: Sandeep Moré <mo...@gmail.com>
AuthorDate: Thu Jan 20 10:17:21 2022 -0500

    KNOX-2631 - Fix unit test
---
 .../src/test/java/org/apache/knox/gateway/SecureKnoxShellTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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..b5d6d0f 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
@@ -301,7 +301,7 @@ public class SecureKnoxShellTest {
 
     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);