You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2010/12/13 20:43:13 UTC
svn commit: r1045335 -
/cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java
Author: eevans
Date: Mon Dec 13 19:43:12 2010
New Revision: 1045335
URL: http://svn.apache.org/viewvc?rev=1045335&view=rev
Log:
ECST no longer needs to manually read cfdefs from yaml now that cleanuphelper (via schemaloader) is
Modified:
cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java
Modified: cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java?rev=1045335&r1=1045334&r2=1045335&view=diff
==============================================================================
--- cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java (original)
+++ cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java Mon Dec 13 19:43:12 2010
@@ -65,14 +65,6 @@ public class EmbeddedCassandraServiceTes
public static void setup() throws TTransportException, IOException, InterruptedException, ConfigurationException
{
- // Manually load tables from the test configuration file.
- for (KSMetaData table : DatabaseDescriptor.readTablesFromYaml())
- {
- for (CFMetaData cfm : table.cfMetaData().values())
- CFMetaData.map(cfm);
- DatabaseDescriptor.setTableDefinition(table, DatabaseDescriptor.getDefsVersion());
- }
-
cassandra = new EmbeddedCassandraService();
cassandra.init();