Skip to content

Conversation

@ajanikow
Copy link
Collaborator

No description provided.

@ajanikow ajanikow requested review from KVS85 and neunhoef July 23, 2020 12:18
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

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

LGTM

type retryFunc func() error

func (r retryFunc) RetryT(t *testing.T, interval, timeout time.Duration) {
require.NoError(t, r.Retry(interval, timeout))
Copy link
Member

Choose a reason for hiding this comment

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

I take it this will fail the test if the r.Retry function returns an error other than nil?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes - in case if returned object will be type of error and wont be nil

@ajanikow ajanikow merged commit 27e32ee into master Jul 23, 2020
@ajanikow ajanikow deleted the feature/view_timeout branch July 23, 2020 14:09
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.

4 participants