Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

keyspace name poke on test

  • Loading branch information...
commit ac15c6472e24b92e3c1cced8b909ce5a633425fa 1 parent b4c9853
zznate authored
View
7 core/src/test/java/me/prettyprint/cassandra/connection/HThriftClientTest.java
@@ -1,7 +1,5 @@
package me.prettyprint.cassandra.connection;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
import me.prettyprint.cassandra.BaseEmbededServerSetupTest;
import me.prettyprint.cassandra.connection.client.HThriftClient;
import me.prettyprint.cassandra.service.CassandraHost;
@@ -10,10 +8,11 @@
import me.prettyprint.hector.api.ddl.KeyspaceDefinition;
import me.prettyprint.hector.api.exceptions.HInvalidRequestException;
import me.prettyprint.hector.api.factory.HFactory;
-
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
public class HThriftClientTest extends BaseEmbededServerSetupTest {
@@ -93,7 +92,7 @@ public void testNonExistingKeyspaceWithHostAutoDiscover() {
hThriftClient.open();
// this keyspace won't exist
- String ksname = "test_ks_" + Thread.currentThread().getName() + Thread.currentThread().getId();
+ String ksname = "test_ks_2_" + Thread.currentThread().getName() + Thread.currentThread().getId();
Exception caughtException = null;
try {
hThriftClient.getCassandra(ksname);
Please sign in to comment.
Something went wrong with that request. Please try again.