You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ms...@apache.org on 2019/06/11 23:41:24 UTC

[cassandra-dtest] branch master updated: Drop token_generator_test from 2.1 branch

This is an automated email from the ASF dual-hosted git repository.

mshuler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/master by this push:
     new baeefb6  Drop token_generator_test from 2.1 branch
baeefb6 is described below

commit baeefb6a658665a840bd0afd5f5f37d9aafb20db
Author: Michael Shuler <mi...@pbandjelly.org>
AuthorDate: Tue Jun 11 18:38:46 2019 -0500

    Drop token_generator_test from 2.1 branch
    
    2.2+ got commits for python2/3 changes and we now run dtest in python3.
    The print statements in 2.1 token_generator just error out, so skip the
    branch:
    ```
      File "/home/automaton/cassandra/tools/bin/token-generator", line 160
        print "%sDC #%d:" % (indentstr, dcnum + 1)
                        ^
    SyntaxError: invalid syntax
    ```
---
 token_generator_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/token_generator_test.py b/token_generator_test.py
index 4c0ce05..3d1afbd 100644
--- a/token_generator_test.py
+++ b/token_generator_test.py
@@ -15,7 +15,7 @@ since = pytest.mark.since
 logger = logging.getLogger(__name__)
 
 
-@since('2.0.16', max_version='3.0.0')
+@since('2.2', max_version='3.0.0')
 class TestTokenGenerator(Tester):
     """
     Basic tools/bin/token-generator test.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org