CellBTreeSingleValue V1 IT test handles TXs using tracking of page operations.
@@ -2,6 +2,7 @@ package com.orientechnologies.orient.core.storage.index.sbtree.singlevalue.v1;
import com.orientechnologies.common.io.OFileUtils;
import com.orientechnologies.common.serialization.types.OUTF8Serializer;
+import com.orientechnologies.orient.core.config.OGlobalConfiguration;
import com.orientechnologies.orient.core.db.*;
import com.orientechnologies.orient.core.id.ORID;
import com.orientechnologies.orient.core.id.ORecordId;
@@ -30,7 +31,9 @@ public class OCellBTreeSingleValueV1TestIT {
final File dbDirectory = new File(buildDirectory, dbName);
OFileUtils.deleteRecursively(dbDirectory);
- orientDB = new OrientDB("plocal:" + buildDirectory, OrientDBConfig.defaultConfig());
+ OrientDBConfig config = OrientDBConfig.builder().addConfig(OGlobalConfiguration.STORAGE_TRACK_PAGE_OPERATIONS_IN_TX, true)
+ .build();
+ orientDB = new OrientDB("plocal:" + buildDirectory, config);
orientDB.create(dbName, ODatabaseType.PLOCAL);
final ODatabaseSession databaseDocumentTx = orientDB.open(dbName, "admin", "admin");
