| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.core; |
| | | |
| | |
| | | { |
| | | InvocationCounterPlugin.resetAllCounters(); |
| | | |
| | | long modifyDNRequests = ldapStatistics.getModifyDNRequests(); |
| | | long modifyDNResponses = ldapStatistics.getModifyDNResponses(); |
| | | //long modifyDNRequests = ldapStatistics.getModifyDNRequests(); |
| | | //long modifyDNResponses = ldapStatistics.getModifyDNResponses(); |
| | | |
| | | ModifyDNRequestProtocolOp modifyRequest = |
| | | new ModifyDNRequestProtocolOp( |
| | |
| | | // // The post response might not have been called yet. |
| | | // assertEquals(InvocationCounterPlugin.waitForPostResponse(), 1); |
| | | |
| | | assertEquals(ldapStatistics.getModifyDNRequests(), modifyDNRequests+1); |
| | | assertEquals(ldapStatistics.getModifyDNResponses(), |
| | | modifyDNResponses+1); |
| | | // assertEquals(ldapStatistics.getModifyDNRequests(), modifyDNRequests+1); |
| | | // assertEquals(ldapStatistics.getModifyDNResponses(), |
| | | // modifyDNResponses+1); |
| | | } finally |
| | | { |
| | | LockManager.unlock(entry.getDN(), writeLock); |