def test_mesos_v0_api(): prior_api_version = sdk_marathon.get_mesos_api_version(foldered_name) if prior_api_version is not "V0": sdk_marathon.set_mesos_api_version(foldered_name, "V0") sdk_marathon.set_mesos_api_version(foldered_name, prior_api_version) sdk_plan.wait_for_completed_deployment(foldered_name) sdk_plan.wait_for_completed_recovery(foldered_name)
def test_mesos_v0_api(): service_name = sdk_utils.get_foldered_name(config.SERVICE_NAME) prior_api_version = sdk_marathon.get_mesos_api_version(service_name) if prior_api_version is not "V0": sdk_marathon.set_mesos_api_version(service_name, "V0") sdk_marathon.set_mesos_api_version(service_name, prior_api_version)
def test_mesos_v0_api(): service_name = sdk_utils.get_foldered_name(config.SERVICE_NAME) prior_api_version = sdk_marathon.get_mesos_api_version(service_name) if prior_api_version is not "V0": sdk_marathon.set_mesos_api_version(service_name, "V0") sdk_marathon.set_mesos_api_version(service_name, prior_api_version)
def test_mesos_v0_api(): service_name = config.get_foldered_service_name() prior_api_version = sdk_marathon.get_mesos_api_version(service_name) if prior_api_version is not "V0": sdk_marathon.set_mesos_api_version(service_name, "V0") sdk_marathon.set_mesos_api_version(service_name, prior_api_version)
def test_mesos_v0_api(): prior_api_version = sdk_marathon.get_mesos_api_version(foldered_name) if prior_api_version is not "V0": sdk_marathon.set_mesos_api_version(foldered_name, "V0") sdk_marathon.set_mesos_api_version(foldered_name, prior_api_version)