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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing tests for watch/triggers #1557

Merged

Conversation

shuheiktgw
Copy link
Contributor

Added missing tests for watch/triggers! Also, I found profile_test.go is supposed to be named profiles_test.go, so I renamed it so. Thanks 馃憤

Copy link
Contributor

@dgageot dgageot left a comment

Choose a reason for hiding this comment

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

LGTM with a few nits

expected: &pollTrigger{
Interval: time.Duration(1) * time.Millisecond,
},
shouldErr: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

We usually skip shouldErr: false in out tests.

{
description: "unknown trigger",
opts: &config.SkaffoldOptions{Trigger: "unknown"},
expected: nil,
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be skipped too

@balopat balopat added the kokoro:run runs the kokoro jobs on a PR label Jan 30, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jan 30, 2019
@dgageot dgageot merged commit 5b138e5 into GoogleContainerTools:master Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants