Skip to content

Commit e49cd43

Browse files
committed
Fix test dirs in SPNEGO unit tests.
1 parent a16470f commit e49cd43

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

exec/java-exec/src/test/java/org/apache/drill/exec/server/rest/spnego/TestDrillSpnegoAuthenticator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
/**
6868
* Test for validating {@link DrillSpnegoAuthenticator}
6969
*/
70-
@Ignore("See DRILL-5387")
7170
@Category(SecurityTest.class)
7271
public class TestDrillSpnegoAuthenticator extends BaseTest {
7372

@@ -81,7 +80,7 @@ public class TestDrillSpnegoAuthenticator extends BaseTest {
8180

8281
@BeforeClass
8382
public static void setupTest() throws Exception {
84-
spnegoHelper = new KerberosHelper(TestSpnegoAuthentication.class.getSimpleName(), primaryName);
83+
spnegoHelper = new KerberosHelper(TestDrillSpnegoAuthenticator.class.getSimpleName(), primaryName);
8584
spnegoHelper.setupKdc(dirTestWatcher.getTmpDir());
8685

8786
// (1) Refresh Kerberos config.

exec/java-exec/src/test/java/org/apache/drill/exec/server/rest/spnego/TestSpnegoConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class TestSpnegoConfig extends BaseTest {
5555

5656
@BeforeClass
5757
public static void setupTest() throws Exception {
58-
spnegoHelper = new KerberosHelper(TestSpnegoAuthentication.class.getSimpleName(), primaryName);
58+
spnegoHelper = new KerberosHelper(TestSpnegoConfig.class.getSimpleName(), primaryName);
5959
spnegoHelper.setupKdc(dirTestWatcher.getTmpDir());
6060

6161
// (1) Refresh Kerberos config.

0 commit comments

Comments
 (0)