Skip to content

test: consolidate sleep macros#1526

Merged
jpnurmi merged 1 commit intomasterfrom
jpnurmi/test/sleep
Feb 18, 2026
Merged

test: consolidate sleep macros#1526
jpnurmi merged 1 commit intomasterfrom
jpnurmi/test/sleep

Conversation

@jpnurmi
Copy link
Collaborator

@jpnurmi jpnurmi commented Feb 17, 2026

Consolidate duplicate sleep_s/sleep_ms macro definitions from 5 test files into sentry_testsupport.h.

Sleeping in tests isn't something we want to encourage, but since a handful of tests already rely on it, it's better to define the cross-platform macros in one place rather than copy-paste them into every file that needs a delay.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jpnurmi jpnurmi merged commit 22b5a2d into master Feb 18, 2026
47 of 48 checks passed
@jpnurmi jpnurmi deleted the jpnurmi/test/sleep branch February 18, 2026 09:04
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.

2 participants