You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
We use these two functions all over the place in our codebase. Is this something that we would want to split into a separate package instead of re-implementing in every project?
I was thinking we could have like a testhelp package.
The text was updated successfully, but these errors were encountered:
There are 2 redundant functions in the Sia codebase, retry() in api/server_helpers_test.go and Retry() in build/testing.go. Sometimes both of them are even called in the same function. build.Retry also very recently snuck into some into some non-test code as well (https://github.com/NebulousLabs/Sia/blob/master/modules/renter/contractor/journal.go#L115). If journal's use of it is correct, testhelp probably isn't a good package name for it.
We use these two functions all over the place in our codebase. Is this something that we would want to split into a separate package instead of re-implementing in every project?
I was thinking we could have like a
testhelp
package.The text was updated successfully, but these errors were encountered: