[ 
https://issues.apache.org/jira/browse/CASSANDRA-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylvain Lebresne resolved CASSANDRA-5362.
-----------------------------------------

    Resolution: Fixed

The transposition was in MigrationManager.announceNewColumnFamily. Took the 
liberty to commit (c1332ef) directly without review as this is a trivial fix.
                
> 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
>            Assignee: Sylvain Lebresne
>              Labels: datastax_qa
>             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

Reply via email to