Infer Cassandra version from build

* Remove all use of CASSANDRA_VERSION_FROM_BUILD global variable
* Use ccmlib to extract the C* version from the install (or repo cache) dir
  so we can inspect it before starting a cluster.
* Change order of fixtures, making setup overrides depend on processing the
  test config so that we have access to the version and can set yaml options
  based on it before initializing test clusters.
* Replace @pytest.mark.skipif(CASSANDRA_VERSION_FROM_BUILD == '3.9')
  with new @pytest.mark.skip_version('3.9')
* Horribly break upgrade_tests/upgrade_manifest.py in advance of CASSANDRA-14421

Patch by Sam Tunnicliffe; reviewed by Blake Eggleston for CASSANDRA-14420


Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/a06c0e70
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/a06c0e70
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/a06c0e70

Branch: refs/heads/master
Commit: a06c0e700f335cbdfcd683cadc358766d959aca0
Parents: 0e9388d
Author: Sam Tunnicliffe <s...@beobal.com>
Authored: Thu Apr 26 15:46:19 2018 +0100
Committer: Sam Tunnicliffe <s...@beobal.com>
Committed: Wed May 9 18:54:13 2018 +0100

----------------------------------------------------------------------
 auth_test.py                                 | 1226 ++++++++++-----------
 configuration_test.py                        |    2 +-
 conftest.py                                  |   60 +-
 deletion_test.py                             |    2 +-
 dtest.py                                     |   28 +-
 jmx_test.py                                  |    2 +-
 putget_test.py                               |    2 +-
 read_failures_test.py                        |    4 +-
 repair_tests/repair_test.py                  |    5 +-
 replace_address_test.py                      |    6 +-
 snapshot_test.py                             |    2 +-
 super_column_cache_test.py                   |    2 +-
 super_counter_test.py                        |    2 +-
 thrift_test.py                               |   12 +-
 upgrade_internal_auth_test.py                |    2 +-
 upgrade_tests/storage_engine_upgrade_test.py |    4 +-
 upgrade_tests/upgrade_base.py                |    4 +-
 upgrade_tests/upgrade_manifest.py            |   11 +-
 upgrade_tests/upgrade_supercolumns_test.py   |    4 +-
 user_functions_test.py                       |   14 +-
 20 files changed, 689 insertions(+), 705 deletions(-)
----------------------------------------------------------------------



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

Reply via email to