Some bug fixes and Minor Chages.
[music.git] / src / test / java / org / onap / music / unittests / MusicDataStoreTest.java
index ab10335..68e6f3d 100644 (file)
@@ -34,7 +34,6 @@ import org.junit.runners.MethodSorters;
 import org.mockito.Mock;
 import org.onap.music.exceptions.MusicQueryException;
 import org.onap.music.exceptions.MusicServiceException;
-import org.onap.music.main.CachingUtil;
 import org.springframework.test.context.ActiveProfiles;
 import org.springframework.test.context.ContextConfiguration;
 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@@ -67,7 +66,7 @@ public class MusicDataStoreTest {
         testObject = new PreparedQueryObject();
         testObject.appendQueryString(CassandraCQL.dropKeyspace);
         dataStore.executePut(testObject, "eventual");
-        dataStore.close();
+        //dataStore.close();
         //CachingUtil.resetStatementBank();
     }
 
@@ -84,7 +83,7 @@ public class MusicDataStoreTest {
         assertEquals(true, result);
 
     }
-
+    
     @Test
     public void Test2_ExecutePut_eventual_insert() throws MusicServiceException, MusicQueryException {
         testObject = CassandraCQL.setPreparedInsertQueryObject1();