use of org.apache.cassandra.locator.PropertyFileSnitch in project cassandra by apache.
the class StorageServiceServerTest method setUp.
@BeforeClass
public static void setUp() throws ConfigurationException {
DatabaseDescriptor.daemonInitialization();
IEndpointSnitch snitch = new PropertyFileSnitch();
DatabaseDescriptor.setEndpointSnitch(snitch);
Keyspace.setInitialized();
}
use of org.apache.cassandra.locator.PropertyFileSnitch in project cassandra by apache.
the class ViewUtilsTest method setUp.
@BeforeClass
public static void setUp() throws ConfigurationException {
DatabaseDescriptor.daemonInitialization();
IEndpointSnitch snitch = new PropertyFileSnitch();
DatabaseDescriptor.setEndpointSnitch(snitch);
Keyspace.setInitialized();
}
Aggregations