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

cqlsh_tests.py:TestCqlsh.test_sub_second_precision is failing

    Details

    • Severity:
      Normal

      Description

      $ PRINT_DEBUG=true nosetests -vs cqlsh_tests/cqlsh_tests.py:TestCqlsh.test_sub_second_precision
      test_sub_second_precision (cqlsh_tests.cqlsh_tests.TestCqlsh) ... cluster ccm directory: /tmp/dtest-h0TkA6
      Custom init_config not found. Setting defaults.
      Done setting configuration options:
      {   'initial_token': None,
          'num_tokens': '256',
          'phi_convict_threshold': 5,
          'range_request_timeout_in_ms': 10000,
          'read_request_timeout_in_ms': 10000,
          'request_timeout_in_ms': 10000,
          'truncate_request_timeout_in_ms': 10000,
          'write_request_timeout_in_ms': 10000}
      (EE)  (EE)  
       id | subid                           | value
      ----+---------------------------------+-------
        1 | 1943-06-19 11:21:01.000000+0000 |   abc
      
      (1 rows)
      
      FAIL
      removing ccm cluster test at: /tmp/dtest-h0TkA6
      clearing ssl stores from [/tmp/dtest-h0TkA6] directory
      
      ======================================================================
      FAIL: test_sub_second_precision (cqlsh_tests.cqlsh_tests.TestCqlsh)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/mshuler/git/cassandra-dtest/tools.py", line 253, in wrapped
          f(obj)
        File "/home/mshuler/git/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line 176, in test_sub_second_precision
          self.assertIn("1943-06-19 11:21:01.123000+0000", output)
      AssertionError: '1943-06-19 11:21:01.123000+0000' not found in '\n id | subid                           | value\n----+---------------------------------+-------\n  1 | 1943-06-19 11:21:01.000000+0000 |   abc\n\n(1 rows)\n'
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: /tmp/dtest-h0TkA6
      dtest: DEBUG: Custom init_config not found. Setting defaults.
      dtest: DEBUG: Done setting configuration options:
      {   'initial_token': None,
          'num_tokens': '256',
          'phi_convict_threshold': 5,
          'range_request_timeout_in_ms': 10000,
          'read_request_timeout_in_ms': 10000,
          'request_timeout_in_ms': 10000,
          'truncate_request_timeout_in_ms': 10000,
          'write_request_timeout_in_ms': 10000}
      dtest: DEBUG: 
       id | subid                           | value
      ----+---------------------------------+-------
        1 | 1943-06-19 11:21:01.000000+0000 |   abc
      
      (1 rows)
      
      --------------------- >> end captured logging << ---------------------
      
      ----------------------------------------------------------------------
      Ran 1 test in 13.016s
      
      FAILED (failures=1)
      

      http://cassci.datastax.com/job/trunk_dtest/1006/testReport/cqlsh_tests.cqlsh_tests/TestCqlsh/test_sub_second_precision/

      Job changes:
      Commit 128d144c0d22238a9045cc697daf880452be974b by Josh McKenzie
      cqlsh: Add local timezone support to cqlsh
      patch by Stefan Podkowinski; reviewed by Paulo Motta for CASSANDRA-10397

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mambocab Jim Witschey
                Reporter:
                mshuler Michael Shuler
                Authors:
                Jim Witschey
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: