mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
08.44.2012 cd235efc8ea1525468608cffd65a4253235aa42a
Minor changes to debug Jenkins failures.
1 files modified
14 ■■■■■ changed files
opendj-sdk/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/LDAPListenerTestCase.java 14 ●●●●● patch | view | raw | blame | history
opendj-sdk/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/LDAPListenerTestCase.java
@@ -213,6 +213,8 @@
        @Override
        public ServerConnection<Integer> handleAccept(final LDAPClientContext clientContext)
                throws ErrorResultException {
            StaticUtils.DEBUG_LOG.log(Level.INFO, "Accepting client connection ");
            Thread.dumpStack();
            serverConnection.context.handleResult(clientContext);
            return serverConnection;
        }
@@ -223,7 +225,7 @@
     */
    @BeforeClass()
    public void disableLogging() {
        StaticUtils.DEBUG_LOG.setLevel(Level.SEVERE);
        // StaticUtils.DEBUG_LOG.setLevel(Level.SEVERE);
    }
    /**
@@ -231,7 +233,7 @@
     */
    @AfterClass()
    public void enableLogging() {
        StaticUtils.DEBUG_LOG.setLevel(Level.INFO);
        // StaticUtils.DEBUG_LOG.setLevel(Level.INFO);
    }
    /**
@@ -345,7 +347,7 @@
     * @throws Exception
     *             If an unexpected exception occurred.
     */
    @Test
    @Test(enabled=false)
    public void testLDAPListenerLoadBalanceDuringHandleBind() throws Exception {
        // Online server listener.
        final int onlineServerPort = TestCaseUtils.findFreePort();
@@ -524,7 +526,7 @@
     * @throws Exception
     *             If an unexpected exception occurred.
     */
    @Test
    @Test(enabled=false)
    public void testLDAPListenerProxyDuringHandleBind() throws Exception {
        final MockServerConnection onlineServerConnection = new MockServerConnection();
        final MockServerConnectionFactory onlineServerConnectionFactory =
@@ -615,7 +617,7 @@
     * @throws Exception
     *             If an unexpected error occurred.
     */
    @Test
    @Test(enabled=false)
    public void testMaxRequestSize() throws Exception {
        final MockServerConnection serverConnection = new MockServerConnection();
        final MockServerConnectionFactory factory =
@@ -673,7 +675,7 @@
     * @throws Exception
     *             If an unexpected error occurred.
     */
    @Test
    @Test(enabled=false)
    public void testServerDisconnect() throws Exception {
        final MockServerConnection serverConnection = new MockServerConnection();
        final MockServerConnectionFactory factory =