This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients taleinat, terry.reedy, vstinner
Date 2021-06-02.19:02:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
The confusion is my fault: PR-26404 is where I first saw this failure, for the previously added tests, not where the test was added.  I unlinked the erroneous message.

Running 12 duplicate tests in parallel on Windows on a 6 core (12 CPU) machine with

f:\dev\3x>python -m test -j12  -ugui -m test_incremental_editing test_idle test_idle test_idle test_idle test_idle test_idle test_idle test_idle test_idle test_idle test_idle test_idle

resulted in nearly all failing.  Half or less failed with -j6, usually one with -j3, none without -j.  Are the processess failing because of interaction with each other?  Or from be switched with other processes?

Back with -j12: increasing the after delay in run_in_tk_mainloop from 1 to 5 cut the failures down to 0-4 in 12.  Increasing further to 8 resulting in no failures.  Note that human keystrokes are at least, say, 50 milliseconds (1/20 second) apart.

I am reluctant to add a delay that is mostly not needed, so i tried the uploaded 'adaptive' code to only add a long delay if needed.  Uploaded.  But when a tested failed once, it failed again even with the delay, and contrary to the results above.
History
Date User Action Args
2021-06-02 19:02:09terry.reedysetrecipients: + terry.reedy, vstinner, taleinat
2021-06-02 19:02:09terry.reedysetmessageid: <[email protected]>
2021-06-02 19:02:09terry.reedylinkissue44282 messages
2021-06-02 19:02:08terry.reedycreate