use of com.scalar.db.service.TransactionFactory in project scalardb by scalar-labs.
the class DistributedTransactionAdminIntegrationTestBase method beforeAll.
@BeforeAll
public void beforeAll() throws Exception {
initialize();
TransactionFactory factory = TransactionFactory.create(TestUtils.addSuffix(gerProperties(), TEST_NAME));
admin = factory.getTransactionAdmin();
namespace1 = getNamespace1();
namespace2 = getNamespace2();
namespace3 = getNamespace3();
createTables();
manager = factory.getTransactionManager();
}
use of com.scalar.db.service.TransactionFactory in project scalardb by scalar-labs.
the class DistributedTransactionIntegrationTestBase method beforeAll.
@BeforeAll
public void beforeAll() throws Exception {
initialize();
String testName = getTestName();
TransactionFactory factory = TransactionFactory.create(TestUtils.addSuffix(gerProperties(), testName));
admin = factory.getTransactionAdmin();
namespace = getNamespaceBaseName() + testName;
createTables();
manager = factory.getTransactionManager();
}
use of com.scalar.db.service.TransactionFactory in project scalardb by scalar-labs.
the class TwoPhaseCommitTransactionIntegrationTestBase method beforeAll.
@BeforeAll
public void beforeAll() throws Exception {
initialize();
String testName = getTestName();
TransactionFactory factory = TransactionFactory.create(TestUtils.addSuffix(gerProperties(), testName));
admin = factory.getTransactionAdmin();
namespace = getNamespaceBaseName() + testName;
createTables();
manager = factory.getTwoPhaseCommitTransactionManager();
}
Aggregations