Skip to content

mixclient: Override timeout and jitter for testing - #3781

Draft
jholdstock wants to merge 1 commit into
decred:masterfrom
jholdstock:mix-poc-2
Draft

mixclient: Override timeout and jitter for testing#3781
jholdstock wants to merge 1 commit into
decred:masterfrom
jholdstock:mix-poc-2

Conversation

@jholdstock

Copy link
Copy Markdown
Member

This reduces the total runtime for the mixclient package tests from ~975s to ~39s.

This is an alternative to #3732, demonstrating that the runtime can still be dramatically reduced regardless of the introduction of DCRS phase.

While this solution has a nice benefit of not needing changes in wallet, I still prefer the parameter solution rather than overriding package variables. Perhaps the ideal option is to make all of the timeout and jitter durations parameters?

This reduces the total runtime for the mixclient package tests from
~975s to ~39s.
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.

1 participant