This is an automated email from the ASF dual-hosted git repository.
jolynch 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 4df308d Fix the token_generator_test for Cassandra 2.2
4df308d is described below
commit 4df308dfe7bbc5fcf5b649fc1e4a3d6bf6daa7ee
Author: Joseph Lynch <[email protected]>
AuthorDate: Tue Feb 5 12:11:53 2019 -0800
Fix the token_generator_test for Cassandra 2.2
Ref: Make tools/bin/token-generator py2/3 compatible
Patch by Joseph Lynch; reviewed by Stefan Podkowinski for CASSANDRA-15012
---
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 b6e9025..4c0ce05 100644
--- a/token_generator_test.py
+++ b/token_generator_test.py
@@ -40,7 +40,7 @@ class TestTokenGenerator(Tester):
args.append(str(n))
logger.debug('Invoking {}'.format(args))
- token_gen_output = subprocess.check_output(args)
+ token_gen_output = subprocess.check_output(args).decode()
lines = token_gen_output.split("\n")
dc_tokens = None
generated_tokens = []
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]