def static_port_config():
    test_utils.install(test_utils.STATIC_PORT_OPTIONS_DICT)
예제 #2
0
def setup_module(module):
    uninstall()
    install(DYNAMIC_PORT_OPTIONS_DICT)
    check_health()
예제 #3
0
def static_port_config():
    install(STATIC_PORT_OPTIONS_DICT)
예제 #4
0
def dynamic_port_config():
    install(DYNAMIC_PORT_OPTIONS_DICT)
    yield
    uninstall()
예제 #5
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()
예제 #6
0
def setup_module(module):
    uninstall()
    install()
    check_health()
예제 #7
0
def setup_module(module):
    uninstall()
    install(STATIC_PORT_OPTIONS_DICT)
    check_health()
def static_port_config():
    install(STATIC_PORT_OPTIONS_DICT)
def dynamic_port_config():
    install(DYNAMIC_PORT_OPTIONS_DICT)
    yield
    uninstall()