swarmkit icon indicating copy to clipboard operation
swarmkit copied to clipboard

Context struct for raft test helper functions

Open aaronlehmann opened this issue 10 years ago • 3 comments

The argument list of several raft utility functions has grown over time. They used to only take a nodes map, but now they also take a clockSource and securityConfig. It would probably clean things up to have some kind of raft cluster test context that gets passed to these functions or used as a method receiver for them.

cc @abronan

aaronlehmann avatar Apr 20 '16 05:04 aaronlehmann

Bump.

Should we leave this as is (no milestone)?

aluzzardi avatar Aug 04 '16 21:08 aluzzardi

Yes, no urgency. It's a test cleanup issue.

aaronlehmann avatar Aug 04 '16 23:08 aaronlehmann

Thanks for opening this issue. We haven’t seen any recent activity, so I’m closing it for now.

If it’s still relevant, feel free to reopen it or open a new issue with additional details. Thanks!

smerkviladze avatar May 04 '26 13:05 smerkviladze