Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred committed Oct 10, 2024
1 parent 4447131 commit 2bd1db8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def _sample_process(self, script_name, options=None, include_profile_name=False)
def test_longsleep(self):
# running with the gil flag should have ~ no samples returned
profile = self._sample_process(_get_script("longsleep.py"), GIL)
print(profile)
assert sum(profile.values()) <= 5

# running with the idle flag should have > 95% of samples in the sleep call
Expand Down

0 comments on commit 2bd1db8

Please sign in to comment.