Files which are not closed before truncation, are automatically closed now.
@@ -323,7 +323,8 @@ public class SBTreeWALTestIT extends SBTreeTestIT {
}
atomicUnit.clear();
} else {
- Assert.assertTrue(walRecord instanceof OUpdatePageRecord || walRecord instanceof ONonTxOperationPerformedWALRecord
+ Assert.assertTrue("WAL record type is " + walRecord.getClass().getName(),
+ walRecord instanceof OUpdatePageRecord || walRecord instanceof ONonTxOperationPerformedWALRecord
|| walRecord instanceof OFileCreatedWALRecord || walRecord instanceof OFuzzyCheckpointStartRecord
|| walRecord instanceof OFuzzyCheckpointEndRecord);
}
