def stress_test_mp():
    global PROCESSES, THREADS

    PROCESSES = THREADS = 4

    stress_test()

    PROCESSES = THREADS = 1
Stress test multiple threads and processes.
dataset/ETHPy150Open grantjenks/python-diskcache/tests/stress_test_core.py/stress_test_mp