From d9a8ac34be1a5906123e1ec2c54105c009036c38 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Mon, 18 Dec 2023 13:57:22 +0100 Subject: [PATCH] try to fix win failures --- psutil/tests/test_unicode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py index ff24219a0..f59df8815 100755 --- a/psutil/tests/test_unicode.py +++ b/psutil/tests/test_unicode.py @@ -198,7 +198,7 @@ def test_proc_exe(self): # no such process (originated from GetExitCodeProcess != # STILL_ACTIVE) if WINDOWS and CI_TESTING: - time.sleep(.1) + time.sleep(1) p = psutil.Process(subp.pid) exe = p.exe() self.assertIsInstance(exe, str) @@ -212,7 +212,7 @@ def test_proc_name(self): # no such process (originated from GetExitCodeProcess != # STILL_ACTIVE) if WINDOWS and CI_TESTING: - time.sleep(.1) + time.sleep(1) name = psutil.Process(subp.pid).name() self.assertIsInstance(name, str) if self.expect_exact_path_match():