• Jérome Perrin's avatar
    cpu load plugin: fix test and minor cleanups · 7954028f
    Jérome Perrin authored
    This test was failing randomly because it uses a timeout of 0.5 seconds, which
    is sometimes not enough to run commands.
    
    Increase the timeout to something large enough so that we don't have timeout
    failures when test machine is busy.
    
    Also simplify the whole thing by using python instead of parsing the output
    of processes.
    7954028f
test_check_server_cpu_load.py 2.1 KB