Skip to content

Commit

Permalink
2s interval for snapshot_pid_profile
Browse files Browse the repository at this point in the history
  • Loading branch information
slicklash committed Oct 15, 2024
1 parent 22665e8 commit 97575da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def has_profile() -> bool:
last_snapshot = profiler.snapshot()
return pid in last_snapshot

wait_event(timeout=5, stop_event=Event(), condition=has_profile, interval=0.1)
wait_event(timeout=5, stop_event=Event(), condition=has_profile, interval=2.0)
return last_snapshot[pid]


Expand Down

0 comments on commit 97575da

Please sign in to comment.