This is an automated email from the ASF dual-hosted git repository. dzamo pushed a commit to branch hadoop-impersonation-tests in repository https://gitbox.apache.org/repos/asf/drill.git
commit cc0ee868f8f4dc247d806dc6c6221d19b95af751 Author: James Turton <ja...@somecomputer.xyz> AuthorDate: Wed Aug 16 08:49:15 2023 +0200 Reset UserGroupInformation in BaseTestImpersonation. --- .../java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java b/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java index f1d471d09e..b8c8b7a3b6 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java @@ -92,6 +92,7 @@ public class BaseTestImpersonation extends ClusterTest { */ protected static void startMiniDfsCluster(String testClass, boolean isImpersonationEnabled) throws Exception { Preconditions.checkArgument(!Strings.isNullOrEmpty(testClass), "Expected a non-null and non-empty test class name"); + UserGroupInformation.reset(); dfsConf = new Configuration(); // Set the MiniDfs base dir to be the temp directory of the test, so that all files created within the MiniDfs