Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bails out if rsync pod is silent #146

Conversation

ricardomaraschini
Copy link
Contributor

if rsync pod does not log anything for 30 minutes we signalize a timeout and bail out the migration.

if rsync pod does not log anything for 30 minutes we signalize a
timeout and bail out the migration.
return
}

if !reflect.DeepEqual(line, tt.output) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use testify here instead of reflect

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

laverya
laverya previously approved these changes Jan 4, 2023
testify is the default here.
@ricardomaraschini ricardomaraschini merged commit 9801338 into main Jan 4, 2023
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