From ff78c95d45e097df07267c977b4748074cffb11c Mon Sep 17 00:00:00 2001 From: Eroschang Date: Fri, 3 Jul 2020 14:41:03 +0800 Subject: [PATCH] Add a test of user identity verification. --- .../submarine/commons/unixusersync/EmbeddedLdapRuleTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/submarine-commons/commons-unixusersync/src/test/java/org/apache/submarine/commons/unixusersync/EmbeddedLdapRuleTest.java b/submarine-commons/commons-unixusersync/src/test/java/org/apache/submarine/commons/unixusersync/EmbeddedLdapRuleTest.java index 4aa283aa9a..42f2ce99a9 100644 --- a/submarine-commons/commons-unixusersync/src/test/java/org/apache/submarine/commons/unixusersync/EmbeddedLdapRuleTest.java +++ b/submarine-commons/commons-unixusersync/src/test/java/org/apache/submarine/commons/unixusersync/EmbeddedLdapRuleTest.java @@ -156,15 +156,12 @@ public void testauth() throws Exception { LOG.info("Pass"); } catch (AuthenticationException e) { - LOG.info("fail"); LOG.error(e.getMessage(), e); } catch (javax.naming.CommunicationException e) { - LOG.info("Connection fail"); LOG.error(e.getMessage(), e); } catch (Exception e) { - LOG.info("Unknown identity verification fail"); LOG.error(e.getMessage(), e); } }