Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5362

Transposed KS/CF arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.4
    • None
    • Low

    Description

      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:

      case ALREADY_EXISTS:
          org.apache.cassandra.exceptions.AlreadyExistsException aee = (org.apache.cassandra.exceptions.AlreadyExistsException)te;
          return new AlreadyExistsException(aee.ksName, aee.cfName);
      

      Error

      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>
      

      Attachments

        Activity

          People

            slebresne Sylvain Lebresne
            j.casares Joaquin Casares
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: