You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joaquin Casares (JIRA)" <ji...@apache.org> on 2013/03/19 23:21:17 UTC
[jira] [Created] (CASSANDRA-5362) Transposed KS/CF arguments
Joaquin Casares created CASSANDRA-5362:
------------------------------------------
Summary: Transposed KS/CF arguments
Key: CASSANDRA-5362
URL: https://issues.apache.org/jira/browse/CASSANDRA-5362
Project: Cassandra
Issue Type: Bug
Components: Drivers
Affects Versions: 1.2.3
Reporter: Joaquin Casares
Fix For: 1.2.4
*Reproduction*
Using https://github.com/joaquincasares/java-driver's integrationtests branch, run `mvn test` from the root directory.
*Issue*
The test will fail due to https://github.com/joaquincasares/java-driver/blob/integrationtests/driver-core/src/main/java/com/datastax/driver/core/ResultSetFuture.java being swapped here:
{CODE}
case ALREADY_EXISTS:
org.apache.cassandra.exceptions.AlreadyExistsException aee = (org.apache.cassandra.exceptions.AlreadyExistsException)te;
return new AlreadyExistsException(aee.ksName, aee.cfName);
{CODE}
*Error*
{CODE}
repeatSchemaDefinition(com.datastax.driver.core.ExceptionsTest) Time elapsed: 0.501 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<Table repeatschema[ks.repeatschemacf] already exists> but was:<Table repeatschema[cf.repeatschemaks] already exists>
{CODE}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira