diff options
author | Olivier Lamy <olamy@apache.org> | 2014-03-25 06:28:20 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-03-25 06:28:20 +0000 |
commit | 68cb953712e98a5b14c759432cfd67babbf7d448 (patch) | |
tree | 500335f60cf50d1b2a0cc03ce818e2ce084c0f43 /archiva-modules/plugins/metadata-store-cassandra | |
parent | 4ac873046d2ae2a1b687f1fbb6771324bf78e5a5 (diff) | |
download | archiva-68cb953712e98a5b14c759432cfd67babbf7d448.tar.gz archiva-68cb953712e98a5b14c759432cfd67babbf7d448.zip |
fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581253 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/metadata-store-cassandra')
2 files changed, 3 insertions, 2 deletions
diff --git a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java index 78b7f8611..e2a0e3e2b 100644 --- a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java +++ b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java @@ -1687,8 +1687,6 @@ public class CassandraMetadataRepository namespace ).withProjectId( project ).build(); this.projectVersionMetadataModelTemplate.deleteRow( key ); - - } @Override diff --git a/archiva-modules/plugins/metadata-store-cassandra/src/test/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepositoryTest.java b/archiva-modules/plugins/metadata-store-cassandra/src/test/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepositoryTest.java index 5da758b90..275c09545 100644 --- a/archiva-modules/plugins/metadata-store-cassandra/src/test/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepositoryTest.java +++ b/archiva-modules/plugins/metadata-store-cassandra/src/test/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepositoryTest.java @@ -100,6 +100,9 @@ public class CassandraMetadataRepositoryTest cassandraArchivaManager.getCluster().truncate( cassandraArchivaManager.getKeyspace().getKeyspaceName(), "metadatafacetmodel" ); + cassandraArchivaManager.getCluster().truncate( cassandraArchivaManager.getKeyspace().getKeyspaceName(), + "mailinglist" ); + } } |