~nwilliams/akiban-persistit/fix_912514_fetchAndRemove_2

« back to all changes in this revision

Viewing changes to core/src/test/java/com/persistit/IntegrityCheckTest.java

  • Committer: build-akiban
  • Date: 2012-05-15 21:24:26 UTC
  • mfrom: (292.3.38 fix_959456)
  • Revision ID: build-akiban-20120515212426-6lp526nql1wu790g
merge pbeaman: This branch fixes several problems related to https://bugs.launchpad.net/akiban-persistit/+bug/959456 Journal copier falls behind in 4-hour Persistit TPCC test.

https://code.launchpad.net/~pbeaman/akiban-persistit/fix_959456/+merge/105529

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
 
166
166
    @Test
167
167
    public void testPruneRemovesAbortedTransactionStatus() throws Exception {
168
 
 
169
 
        final CleanupManager cm = _persistit.getCleanupManager();
 
168
        _persistit.getJournalManager().setRollbackPruningEnabled(false);
170
169
 
171
170
        for (int i = 0; i < 10; i++) {
172
171
            final Exchange ex = _persistit.getExchange(_volumeName, "mvv" + i, true);
191
190
        _persistit = new Persistit();
192
191
        _persistit.getRecoveryManager().setRecoveryDisabledForTestMode(true);
193
192
        _persistit.getJournalManager().setRollbackPruningEnabled(false);
 
193
        _persistit.getCleanupManager().setMinimumPruningDelay(0); // no background pruningIn
194
194
        _persistit.initialize(properties);
195
195
 
196
196
        for (int i = 0; i < 10; i++) {