Skip to content

Conversation

amitsaha
Copy link
Owner

@amitsaha amitsaha commented Dec 28, 2021

This PR updates the retry added in fa5e695:

  • Introduce a new option for controlling the maximum number of retries: github.createUserMigrationRetryMax (an integer) which is by default set to 5. Together with github.createUserMigrationRetry (a boolean) which is set to true by default, these options will control the user migration creation behavior. This may be extrapolated to org migration as well.
  • Add test for user migration start using https://github.com/migueleliasweb/go-github-mock

The last change is will allow us to write bunch of tests for the GitHub operations and refactor things.

@amitsaha amitsaha merged commit 2c7432c into master Dec 28, 2021
@amitsaha amitsaha deleted the issue_62_retry branch December 28, 2021 07:23
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