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

migrate common utils from core/internal/testutils/testutils.go #214

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

dhaidashenko
Copy link
Collaborator

No description provided.

pkg/utils/tests/tests.go Outdated Show resolved Hide resolved

// TestInterval is just a sensible poll interval that gives fast tests without
// risk of spamming
const TestInterval = 100 * time.Millisecond
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this one need to be exported?

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, there are 50 cases in core where testutils.TestInterval is used

@dhaidashenko dhaidashenko changed the base branch from main to develop November 3, 2023 12:56
Co-authored-by: Jordan Krage <jmank88@gmail.com>
pkg/utils/tests/logs.go Outdated Show resolved Hide resolved
@jmank88 jmank88 merged commit a2a9a95 into develop Nov 3, 2023
6 of 8 checks passed
@jmank88 jmank88 deleted the feature/testutils branch November 3, 2023 13:20
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.

None yet

2 participants