summaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-dao/src/test')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java
index d97f7d3fa4..eec9b20fbd 100644
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java
@@ -22,23 +22,22 @@
package org.openecomp.sdc.be.utils;
import com.datastax.driver.core.Cluster;
+import java.io.IOException;
import org.apache.cassandra.exceptions.ConfigurationException;
-import org.apache.thrift.transport.TTransportException;
import org.cassandraunit.utils.EmbeddedCassandraServerHelper;
-import java.io.IOException;
-
public class CassandraTestHelper {
+
public static final String SERVER = "localhost";
- public static final int BINARY_PORT = 9142;
+ private static final int BINARY_PORT = 9142;
- public CassandraTestHelper() {
+ private CassandraTestHelper() {
}
public static void startServer() {
try {
EmbeddedCassandraServerHelper.startEmbeddedCassandra(80000);
- } catch(TTransportException | ConfigurationException | IOException ex) {
+ } catch (ConfigurationException | IOException ex) {
throw new RuntimeException(ex);
}
}