def test_partition_master_outgoing():
    master_leader_ip = shakedown.master_leader_ip()
    shakedown.partition_master(master_leader_ip, incoming=False, outgoing=True)
    time.sleep(20)
    shakedown.reconnect_master(master_leader_ip)

    check_health()
def test_partition_master_both_ways():
    master_leader_ip = shakedown.master_leader_ip()
    shakedown.partition_master(master_leader_ip)
    time.sleep(20)
    shakedown.reconnect_master(master_leader_ip)

    check_health()
def test_partition_master_outgoing():
    shakedown.partition_master(incoming=False, outgoing=True)
    shakedown.reconnect_master()

    check_health()
def test_partition_master_both_ways():
    shakedown.partition_master()
    shakedown.reconnect_master()

    check_health()
def test_partition_master_outgoing():
    shakedown.partition_master(incoming=False, outgoing=True)
    shakedown.reconnect_master()

    check_health()
def test_partition_master_both_ways():
    shakedown.partition_master()
    shakedown.reconnect_master()

    check_health()
def test_partition_master_outgoing():
    shakedown.partition_master(incoming=False, outgoing=True)
    shakedown.reconnect_master()
    config.check_running()
def test_partition_master_both_ways():
    shakedown.partition_master()
    shakedown.reconnect_master()
    config.check_running()
Esempio n. 9
0
def test_partition_master_incoming(install_framework):
    shakedown.partition_master(incoming=True, outgoing=False)
    shakedown.reconnect_master()

    check_health()
Esempio n. 10
0
def test_partition_master_both_ways(install_framework):
    shakedown.partition_master()
    shakedown.reconnect_master()

    check_health()
def test_partition_master_incoming(install_framework):
    shakedown.partition_master(incoming=True, outgoing=False)
    shakedown.reconnect_master()

    check_health()
def test_partition_master_both_ways(install_framework):
    shakedown.partition_master()
    shakedown.reconnect_master()

    check_health()