Skip to content

Commit

Permalink
Update test_process.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jul 30, 2023
1 parent 8c0e3df commit 9e61013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e61013

Please sign in to comment.