You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try running the tests on Windows, after a certain point the tests will suddenly start spawning and killing cmd windows rapidly. Each window shows up for a fraction of a second, and disappears.
From one perspective, this is a non-issue: the temporary windows always disappear and the tests appear to finish and complete successfully. On the other hand, it's sort of alarming: I ran tests and switched over to my browser, and had a mild moment of panic when these cmd windows suddenly starting showing up and stealing focus.
I'm assuming this related to the recent work we've been doing with the windows daemon code: I can repro this fairly quickly by running pytest -k Daemon using both Powershell and the standard command prompt on Windows 10, and this behavior appears to have been introduced by abd319a.
I think ideally we'd stop making these windows appear and disappear. If that's not possible, we could instead maybe do one of the following:
Have the windows spawn in the background (so they don't steal focus).
Move the daemon-related tests out of pytest-fast or something so that users can opt-out of these tests by running py -3 ./runtests.py pytest-fast or something similar.
Document that this is expected behavior somewhere.
The text was updated successfully, but these errors were encountered:
When I try running the tests on Windows, after a certain point the tests will suddenly start spawning and killing cmd windows rapidly. Each window shows up for a fraction of a second, and disappears.
From one perspective, this is a non-issue: the temporary windows always disappear and the tests appear to finish and complete successfully. On the other hand, it's sort of alarming: I ran tests and switched over to my browser, and had a mild moment of panic when these cmd windows suddenly starting showing up and stealing focus.
I'm assuming this related to the recent work we've been doing with the windows daemon code: I can repro this fairly quickly by running
pytest -k Daemon
using both Powershell and the standard command prompt on Windows 10, and this behavior appears to have been introduced by abd319a.I think ideally we'd stop making these windows appear and disappear. If that's not possible, we could instead maybe do one of the following:
pytest-fast
or something so that users can opt-out of these tests by runningpy -3 ./runtests.py pytest-fast
or something similar.The text was updated successfully, but these errors were encountered: