fix failure of org.apache.activemq.store.kahadb.KahaDBMessagePriorityTest - getMessageCount left cursor at end of data, reset needed at the end

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982955 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-08-06 13:35:45 +00:00
parent 474a30d7ce
commit 01495a00e9
1 changed files with 1 additions and 0 deletions

View File

@ -747,6 +747,7 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter {
counter++;
}
}
sd.orderIndex.resetCursorPosition();
} catch (Exception e) {
throw IOExceptionSupport.create(e);
}