def test_upgrade(): """ Tests upgrade procedure of OCS cluster """ run_ocs_upgrade()
def test_worker_node_permanent_shutdown(teardown): """ Test OCS upgrade with disruption of shutting down worker node """ log.info( "Starting disruptive function: test_worker_node_permanent_shutdown") run_ocs_upgrade(operation=worker_node_shutdown, abrupt=False)
def test_osd_reboot(teardown): """ OCS Upgrade with node reboot: with 1 OSD going down and back up while upgrade is running """ log.info("Starting disruptive function: test_osd_reboot") run_ocs_upgrade(operation=osd_node_reboot)
def test_worker_node_abrupt_shutdown(teardown): """ Test OCS upgrade with disruption of shutting down worker node, for 5.5 minutes """ log.info("Starting disruptive function: test_worker_node_abrupt_shutdown") run_ocs_upgrade(operation=worker_node_shutdown, abrupt=True)