mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 07:24:51 +00:00
HashTest expanded to load/unload/load indexes through testing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8b407bb63
commit
18e1a6bfc1
@ -70,13 +70,19 @@ public class HashTest extends TestCase {
|
||||
hashIndex.setPageSize(pageSize);
|
||||
this.hashIndex.load();
|
||||
doInsert(keyRoot);
|
||||
this.hashIndex.unload();
|
||||
this.hashIndex.load();
|
||||
checkRetrieve(keyRoot);
|
||||
doRemove(keyRoot);
|
||||
|
||||
this.hashIndex.unload();
|
||||
this.hashIndex.load();
|
||||
doInsert(keyRoot);
|
||||
doRemoveHalf(keyRoot);
|
||||
doInsertHalf(keyRoot);
|
||||
this.hashIndex.unload();
|
||||
this.hashIndex.load();
|
||||
checkRetrieve(keyRoot);
|
||||
this.hashIndex.unload();
|
||||
}
|
||||
|
||||
void doInsert(String keyRoot) throws Exception {
|
||||
|
Loading…
x
Reference in New Issue
Block a user