You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Shuler (JIRA)" <ji...@apache.org> on 2016/02/18 19:10:18 UTC

[jira] [Created] (CASSANDRA-11184) cqlsh_tests.py:TestCqlsh.test_sub_second_precision is failing

Michael Shuler created CASSANDRA-11184:
------------------------------------------

             Summary: cqlsh_tests.py:TestCqlsh.test_sub_second_precision is failing
                 Key: CASSANDRA-11184
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11184
             Project: Cassandra
          Issue Type: Bug
          Components: Testing
            Reporter: Michael Shuler
             Fix For: 3.x


{noformat}
$ 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)
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)