def teardown_module():
    """
    The rest of the tests don't need custom tombstones
    remove the cluster so as to not interfere with other tests.
    """
    if PROTOCOL_VERSION >= 4:
        remove_cluster()
Example #2
0
def teardown_module():
    """
    The rest of the tests don't need custom tombstones
    remove the cluster so as to not interfere with other tests.
    """
    if PROTOCOL_VERSION >= 4:
        remove_cluster()
Example #3
0
def teardown_module():
    """
    The rest of the tests don't need ssl enabled, remove the cluster so as to not interfere with other tests.
    """

    ccm_cluster = get_cluster()
    ccm_cluster.stop()
    remove_cluster()
Example #4
0
def teardown_module():
    """
    The rest of the tests don't need ssl enabled, remove the cluster so as to not interfere with other tests.
    """

    ccm_cluster = get_cluster()
    ccm_cluster.stop()
    remove_cluster()
Example #5
0
    def _upgrade_step_setup(self):
        """
        This is not the regular _setUp method because it will be called from
        the decorator instead of letting nose handle it.
        This setup method will start a cluster with the right version according
        to the variable UPGRADE_PATH.
        """
        remove_cluster()
        self.cluster = use_cluster(UPGRADE_CLUSTER_NAME + self.UPGRADE_PATH.name, [3],
                                   ccm_options=self.UPGRADE_PATH.starting_version, set_keyspace=self.set_keyspace,
                                   configuration_options=self.UPGRADE_PATH.configuration_options)
        self.nodes = self.cluster.nodelist()
        self.last_node_upgraded = None
        self.upgrade_done = Event()
        self.upgrade_thread = None

        if self.start_cluster:
            setup_keyspace()

            self.cluster_driver = Cluster()
            self.session = self.cluster_driver.connect()
            self.logger_handler.reset()
def teardown_module():
    remove_cluster()  # this test messes with config
 def teardown_class(cls):
     remove_cluster()
def teardown_module():
    remove_cluster()
def setup_module():
    if not DSE_VERSION and CASSANDRA_VERSION >= Version('4-a'):
        remove_cluster()
        use_singledc(use_single_interface=True)
 def setUp(self):
     remove_cluster(
     )  # clear ahead of test so it doesn't use one left in unknown state
     self.coordinator_stats = CoordinatorStats()
     self.prepared = None
     self.probe_cluster = None
 def teardown_class(cls):
     remove_cluster()
Example #12
0
 def tearDownClass(cls):
     ccm_cluster = get_cluster()
     ccm_cluster.stop()
     remove_cluster()
Example #13
0
def teardown_module():
    if DSE_VERSION:
        remove_cluster()  # this test messes with config
Example #14
0
def setup_module():
    remove_cluster()
 def setUp(self):
     remove_cluster() # clear ahead of test so it doesn't use one left in unknown state
     self.coordinator_stats = CoordinatorStats()
     self.prepared = None
     self.probe_cluster = None
Example #16
0
def teardown_module():
    remove_cluster()
Example #17
0
 def tearDownClass(cls):
     ccm_cluster = get_cluster()
     ccm_cluster.stop()
     remove_cluster()
def teardown_module():
    remove_cluster()  # this test messes with config