diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index b3cf9ff54..58caf5a21 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -1059,7 +1059,7 @@ def test_num_fds(self): def test_num_ctx_switches(self): p = psutil.Process() before = sum(p.num_ctx_switches()) - for _ in range(500000): + for _ in range(1000000): after = sum(p.num_ctx_switches()) if after > before: return