Various test fixes for 3.2.0#791
Conversation
33d29c7 to
2f46616
Compare
2f46616 to
3e89525
Compare
|
|
||
| private static boolean isThriftSupported(boolean dse, VersionNumber version) { | ||
| return | ||
| (!dse && version.compareTo(VersionNumber.parse("3.10")) < 0) |
There was a problem hiding this comment.
I think C* 4.0 will be the first version without thrift. It will still be present in 3.10, but not in trunk.
tolbertam
left a comment
There was a problem hiding this comment.
Other than my comment about C* and Thrift, this looks good to me 👍
3e89525 to
650ad2d
Compare
| } | ||
|
|
||
| private static boolean isThriftSupported(boolean dse, VersionNumber version) { | ||
| return dse || version.compareTo(VersionNumber.parse("4.0")) < 0; |
There was a problem hiding this comment.
Just curious, but what is the significance of DSE here? Although all versions of DSE support Thrift at the moment, i imagine that will change too. That being said I think it is fine this way for now.
There was a problem hiding this comment.
I'm just assuming that all versions of DSE support thrift for now, because I don't know when C* 4.0 will get pulled in DSE.
💯 for using a string for the version. |
Motivation: Many tests are failing when using recent versions of C* or DSE. Modifications: 1) Bump the default C* version to 3.8 2) Redesign @CassandraVersion and @DseVersion to be able to fully accept tick-tock releases and correctly compare them. 3) Reduce log verbosity for Scassandra tests 4) Prevent thrift from being enabled for C* >= 4.0 5) Fix decommission tests with C* >= 3.12 This commit contains contributions by Andrew Tolbert (@tolbertam). Result: All tests should pass.
650ad2d to
eda8314
Compare
Motivation: Many tests are failing when using recent versions of C* or DSE. Modifications: 1) Bump the default C* version to 3.8 2) Redesign @CassandraVersion and @DseVersion to be able to fully accept tick-tock releases and correctly compare them. 3) Reduce log verbosity for Scassandra tests 4) Prevent thrift from being enabled for C* >= 4.0 5) Fix decommission tests with C* >= 3.12 This commit contains contributions by Andrew Tolbert (@tolbertam). Result: All tests should pass.
Motivation: Many tests are failing when using recent versions of C* or DSE. Modifications: 1) Bump the default C* version to 3.8 2) Redesign @CassandraVersion and @DseVersion to be able to fully accept tick-tock releases and correctly compare them. 3) Reduce log verbosity for Scassandra tests 4) Prevent thrift from being enabled for C* >= 4.0 5) Fix decommission tests with C* >= 3.12 This commit contains contributions by Andrew Tolbert (@tolbertam). Result: All tests should pass.
Backport #791 and remove ambiguity in Cassandra and DSE versions in tests
Motivation:
Many tests are failing when using recent versions of C* or DSE.
Modifications:
tick-tock releases and correctly compare them.
This commit contains contributions by Andrew Tolbert (@tolbertam).
Result:
All tests should pass.