Skip to content

test: de-dupe and fix flaky logs/metrics crash tests#1567

Merged
jpnurmi merged 4 commits into
masterfrom
jpnurmi/test/native-logs-metrics
Mar 10, 2026
Merged

test: de-dupe and fix flaky logs/metrics crash tests#1567
jpnurmi merged 4 commits into
masterfrom
jpnurmi/test/native-logs-metrics

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Mar 10, 2026

Copy link
Copy Markdown
Collaborator

Consolidate duplicate inproc/breakpad log crash tests via parametrize. Switch all logs/metrics_on_crash tests to oneshot requests and use httpserver.wait() to avoid flakiness. Native backend tests are separate since the daemon sends envelopes directly, and parametrize rerun vs. no-rerun to verify a second daemon doesn't conflict.

Close: #1560

Consolidate duplicate inproc/breakpad log crash tests via parametrize.
Switch all crash tests to oneshot requests and httpserver.wait() to
avoid flakiness. Native backend tests are separate since the daemon
sends envelopes directly, and parametrize rerun vs. no-rerun to verify
a second daemon doesn't conflict.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread tests/test_integration_logs.py
Comment thread tests/test_integration_logs.py Outdated
Comment thread tests/test_integration_logs.py

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread tests/test_integration_logs.py
@jpnurmi jpnurmi requested a review from supervacuus March 10, 2026 10:44
@jpnurmi jpnurmi merged commit d1c006f into master Mar 10, 2026
50 checks passed
@jpnurmi jpnurmi deleted the jpnurmi/test/native-logs-metrics branch March 10, 2026 12:03
BernhardMarconato pushed a commit to elgatosf/sentry-native that referenced this pull request Apr 21, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

native backend integration tests require restructure

2 participants