Esempio n. 1
0
def after_scenario(scenario):
    if hasattr(lib.world, 'api_servers'):
        for api_server in lib.world.api_servers.values():
            api_server.stop()
    if hasattr(lib.world, 'script') and lib.world.script:
        lib.world.script.stop()
    lib.stop_system_service('rrdcached')
Esempio n. 2
0
def after_scenario(scenario):
    if hasattr(lib.world, 'api_servers'):
        for api_server in lib.world.api_servers.values():
            api_server.stop()
    if hasattr(lib.world, 'script') and lib.world.script:
        lib.world.script.stop()
    lib.stop_system_service('rrdcached')
Esempio n. 3
0
def stop_rrdcached(step):
    lib.stop_system_service('rrdcached')
Esempio n. 4
0
def stop_system_service(step, name):
    assert lib.stop_system_service(name)
Esempio n. 5
0
def stop_rrdcached(step):
    lib.stop_system_service('rrdcached')
Esempio n. 6
0
def stop_system_service(step, name):
    assert lib.stop_system_service(name)