com.scalar.db.transaction.consensuscommit.ConsensusCommitAdminIntegrationTestBase Maven / Gradle / Ivy
package com.scalar.db.transaction.consensuscommit;
import com.scalar.db.api.DistributedTransactionAdminIntegrationTestBase;
import java.util.Properties;
public abstract class ConsensusCommitAdminIntegrationTestBase
extends DistributedTransactionAdminIntegrationTestBase {
@Override
protected String getTestName() {
return "tx_admin_cc";
}
@Override
protected final Properties getProperties(String testName) {
Properties properties = new Properties();
properties.putAll(getProps(testName));
// Add testName as a coordinator namespace suffix
ConsensusCommitIntegrationTestUtils.addSuffixToCoordinatorNamespace(properties, testName);
return properties;
}
protected abstract Properties getProps(String testName);
}