def test_soak_upgrade_downgrade():
    """ Assumes that the install options file is placed in the repo root directory by the user.
    """
    with open('elastic.json') as options_file:
        install_options = json.load(options_file)
    sdk_upgrade.soak_upgrade_downgrade(config.PACKAGE_NAME,
                                       install_options["service"]["name"],
                                       config.DEFAULT_TASK_COUNT,
                                       additional_options=install_options)
Пример #2
0
def test_soak_upgrade_downgrade():
    """ Assumes that the install options file is placed in the repo root directory by the user.
    """
    with open('elastic.json') as options_file:
        install_options = json.load(options_file)
    sdk_upgrade.soak_upgrade_downgrade(
        config.PACKAGE_NAME,
        install_options["service"]["name"],
        config.DEFAULT_TASK_COUNT,
        additional_options=install_options)
def test_soak_upgrade_downgrade():
    """Install the Cassandra Universe package and attempt upgrade to master.

    Assumes that the install options file is placed in the repo root."""
    with open('cassandra.json') as options_file:
        install_options = json.load(options_file)
    sdk_upgrade.soak_upgrade_downgrade(config.PACKAGE_NAME,
                                       install_options["service"]["name"],
                                       config.DEFAULT_TASK_COUNT,
                                       additional_options=install_options)
Пример #4
0
def test_soak_upgrade_downgrade():
    """ Assumes that the install options file is placed in the repo root directory by the user.
    """
    with open('kafka.json') as options_file:
        install_options = json.load(options_file)
    sdk_upgrade.soak_upgrade_downgrade(
        "beta-{}".format(PACKAGE_NAME),
        PACKAGE_NAME,
        DEFAULT_BROKER_COUNT,
        service_name=install_options["service"]["name"],
        additional_options=install_options)
Пример #5
0
def test_soak_upgrade_downgrade():
    """Install the Cassandra Universe package and attempt upgrade to master.

    Assumes that the install options file is placed in the repo root."""
    with open('cassandra.json') as options_file:
        install_options = json.load(options_file)
    sdk_upgrade.soak_upgrade_downgrade(
        config.PACKAGE_NAME,
        install_options["service"]["name"],
        config.DEFAULT_TASK_COUNT,
        additional_options=install_options)
Пример #6
0
def test_soak_upgrade_downgrade():
    sdk_upgrade.soak_upgrade_downgrade(config.PACKAGE_NAME,
                                       config.SERVICE_NAME,
                                       config.DEFAULT_TASK_COUNT)
Пример #7
0
def test_soak_upgrade_downgrade():
    sdk_upgrade.soak_upgrade_downgrade(
        config.PACKAGE_NAME,
        config.SERVICE_NAME,
        config.DEFAULT_TASK_COUNT)