File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ def teardown(self):
407
407
self .buffer = None
408
408
409
409
410
- PROFILE_BUFFER_SECONDS = 10
410
+ PROFILE_BUFFER_SECONDS = 60
411
411
412
412
413
413
class ProfileBuffer :
Original file line number Diff line number Diff line change @@ -720,7 +720,7 @@ def _request(
720
720
721
721
try :
722
722
import httpcore
723
- import h2 # type: ignore # noqa: F401
723
+ import h2 # noqa: F401
724
724
except ImportError :
725
725
# Sorry, no Http2Transport for you
726
726
class Http2Transport (HttpTransport ):
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ def test_continuous_profiler_auto_start_and_manual_stop(
200
200
201
201
with sentry_sdk .start_transaction (name = "profiling" ):
202
202
with sentry_sdk .start_span (op = "op" ):
203
- time .sleep (0.05 )
203
+ time .sleep (0.1 )
204
204
205
205
assert_single_transaction_with_profile_chunks (envelopes , thread )
206
206
@@ -211,7 +211,7 @@ def test_continuous_profiler_auto_start_and_manual_stop(
211
211
212
212
with sentry_sdk .start_transaction (name = "profiling" ):
213
213
with sentry_sdk .start_span (op = "op" ):
214
- time .sleep (0.05 )
214
+ time .sleep (0.1 )
215
215
216
216
assert_single_transaction_without_profile_chunks (envelopes )
217
217
@@ -221,7 +221,7 @@ def test_continuous_profiler_auto_start_and_manual_stop(
221
221
222
222
with sentry_sdk .start_transaction (name = "profiling" ):
223
223
with sentry_sdk .start_span (op = "op" ):
224
- time .sleep (0.05 )
224
+ time .sleep (0.1 )
225
225
226
226
assert_single_transaction_with_profile_chunks (envelopes , thread )
227
227
You can’t perform that action at this time.
0 commit comments