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

cqlsh_tests test_simple_insert dtest fails on 2.1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • Test/dtest/python

    Description

      $ PRINT_DEBUG=true nosetests --nocapture --nologcapture --verbosity=3 cqlsh_tests.py:TestCqlsh.test_simple_insert
      nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
      test_simple_insert (cqlsh_tests.TestCqlsh) ... cluster ccm directory: /tmp/dtest-aCgjRr
      (EE) Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, 'ECONNREFUSED')})
      ERROR
      
      ======================================================================
      ERROR: test_simple_insert (cqlsh_tests.TestCqlsh)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/mshuler/git/cassandra-dtest/cqlsh_tests.py", line 34, in test_simple_insert
          cursor.execute("select id, value from simple.simple");
        File "/home/mshuler/git/cassandra-dbapi2/cql/cursor.py", line 80, in execute
          response = self.get_response(prepared_q, cl)
        File "/home/mshuler/git/cassandra-dbapi2/cql/thrifteries.py", line 78, in get_response
          return self.handle_cql_execution_errors(doquery, compressed_q, compress, cl)
        File "/home/mshuler/git/cassandra-dbapi2/cql/thrifteries.py", line 100, in handle_cql_execution_errors
          raise cql.ProgrammingError("Bad Request: %s" % ire.why)
      ProgrammingError: Bad Request: Keyspace simple does not exist
      
      ----------------------------------------------------------------------
      Ran 1 test in 4.278s
      
      FAILED (errors=1)
      

      Attachments

        Issue Links

          Activity

            People

              enigmacurry Ryan McGuire
              mshuler Michael Shuler
              Ryan McGuire
              Michael Shuler Michael Shuler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: