~pbeaman/akiban-persistit/fix-rebalance-exception

« back to all changes in this revision

Viewing changes to src/test/java/com/persistit/TreeTest2.java

  • Committer: Peter Beaman
  • Date: 2012-11-23 20:06:26 UTC
  • mfrom: (385.1.10 stage)
  • Revision ID: pbeaman@akiban.com-20121123200626-r0oal8cevxrf3vfb
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
            txn.end();
52
52
        }
53
53
 
54
 
        final Properties properties = _persistit.getProperties();
55
54
        _persistit.getJournalManager().flush();
56
55
        _persistit.crash();
57
 
        _persistit = new Persistit();
58
 
        _persistit.initialize(properties);
 
56
        _persistit = new Persistit(_config);
59
57
 
60
58
        volume = _persistit.getVolume("persistit");
61
59
        assertTrue(1 != volume.getStructure().directoryExchange().getTree().getRootPageAddr());