PY-82318: Kill process that keeps python installation.

We create tmp dir in tests in a temporary dir and want to drop it then.

However, some background python process (I blame package manager cache) keeps this directory which prevents it from being deleted on Windows.

We now drop it.

GitOrigin-RevId: 35b3e1b75c1e3be7df1dd4e3b3fd155a24baff41
This commit is contained in:
Ilya.Kazakevich
2025-07-01 16:48:04 +00:00
committed by intellij-monorepo-bot
parent ec210a9997
commit fd5d67817e
@@ -180,6 +180,7 @@ class PyVirtualEnvTerminalCustomizerTest {
finally {
if (SystemInfo.isWindows) {
deleteCheckLocking(tempDirFixture.get())
deleteCheckLocking(venvPath)
}
process.kill()
process.exitCode.await()