Ejemplo n.º 1
0
def teardown_module(module):
    uninstall()
Ejemplo n.º 2
0
def setup_module(module):
    uninstall()
Ejemplo n.º 3
0
def setup_module(module):
    uninstall()
    install(DYNAMIC_PORT_OPTIONS_DICT)
    check_health()
def teardown_module(module):
    uninstall()
def setup_module(module):
    uninstall()
    shakedown.install_package_and_wait(PACKAGE_NAME,
                                       options_file=STATIC_PORT_OPTIONS_FILE)
    check_health()
Ejemplo n.º 6
0
def teardown_module(module):
    test_utils.uninstall()
Ejemplo n.º 7
0
def setup_module(module):
    test_utils.uninstall()
Ejemplo n.º 8
0
def test_marathon_max_one_per_hostname():
    install(additional_options = {'service':{'placement_constraint':'hostname:MAX_PER:1'}})
    check_health()
    plan = get_plan(lambda p: p['status'] == 'COMPLETE')
    assert plan['status'] == 'COMPLETE'
    uninstall()
Ejemplo n.º 9
0
def dynamic_port_config():
    install(DYNAMIC_PORT_OPTIONS_DICT)
    yield
    uninstall()
Ejemplo n.º 10
0
def setup_module(module):
    uninstall()
    install()
    check_health()
Ejemplo n.º 11
0
def dynamic_port_config():
    shakedown.install_package_and_wait(test_utils.PACKAGE_NAME,
                                       options_file=DYNAMIC_PORT_OPTIONS_FILE)
    yield
    test_utils.uninstall()
Ejemplo n.º 12
0
def setup_module(module):
    uninstall()
    install(STATIC_PORT_OPTIONS_DICT)
    check_health()
def dynamic_port_config():
    install(DYNAMIC_PORT_OPTIONS_DICT)
    yield
    uninstall()
def setup_module(module):
    uninstall()