summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-07-03 11:43:24 (GMT)
committerGitHub <noreply@github.com>2018-07-03 11:43:24 (GMT)
commit53fafafa340e292a1c9e4aacf5860999613c2b36 (patch)
tree3daa80e535f4cd2ec6c00a96c540066269c1121e /Python/pystate.c
parent9b84cc8771f52e9340ea5b676da9a15359c723b6 (diff)
downloadcpython-53fafafa340e292a1c9e4aacf5860999613c2b36.zip
cpython-53fafafa340e292a1c9e4aacf5860999613c2b36.tar.gz
cpython-53fafafa340e292a1c9e4aacf5860999613c2b36.tar.bz2
bpo-33735: Fix test_multiprocessing random failure (GH-8059) (GH-8061)
When hunting memory leaks using -R 3:3, test_imap_unordered() of test_multiprocessing leaks randomly a few memory blocks. It is a false alarm: when testing using -R 3:20 for example, no leak is detected. Modify test_imap_unordered() to be closer to test_imap(): * Only test 10 numbers instead of 1000: it's a pool of 4 processes, so 10 is enough to test at least one number per process * Use chunksize=100 instead of chunksize=53 to mimick test_imap() (cherry picked from commit 23401fb960bb94e6ea62d2999527968d53d3fc65)
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions