Skip to content

test: Use a process instead of a thread for the fakeredis server - #304

Merged
ketiltrout merged 1 commit into
chime-upgradefrom
fakeredis_proc
Sep 23, 2026
Merged

ketiltrout merged 1 commit into
chime-upgradefrom
fakeredis_proc

Conversation

@ketiltrout

Copy link
Copy Markdown
Member

Sometimes fakeredis gets stuck if we're not particularly kind to it.

This ensures a test will end (by killing the fakeredis process if necessary) instead of hanging forever in a thread-synchronization deadlock. The trade-off is slower test running.

Because of #303 this won't actually be used in the CI runs on GitHub.

Sometimes fakeredis gets stuck if we're not particularly kind to it.

This ensures a test will end (by killing the fakeredis process if
necessary) instead of hanging forever in a thread-synchronization
deadlock.
@ketiltrout
ketiltrout merged commit 33f9ecf into chime-upgrade Sep 23, 2026
5 checks passed
@ketiltrout
ketiltrout deleted the fakeredis_proc branch September 23, 2026 20:07
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