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

Jean-Noel Rouvignac
02.56.2013 6d8a32db084e6a77aabdeca6995269b6d371ea22
Fixed UpdateOperationTest, broken after r9638 .
Test started failing after upgrading to Berkeley JE "5.0.84" (instead of "5.0.73"). The newer version has StatCapture class that writes to disk on shutdown which is creating a problem with JEChangelodDB.removeDB().

JEChangelodDB.java:
In removeDB(), reversed the order: shutdown the DB before deleting the DB directory.
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java
@@ -362,9 +362,8 @@
  @Override
  public void removeDB() throws ChangelogException
  {
    StaticUtils.recursiveDelete(dbDirectory);
    // there is no point in keeping the DB open after it has been removed
    shutdownDB();
    StaticUtils.recursiveDelete(dbDirectory);
  }
  /** {@inheritDoc} */