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

Restructure integration tests #1678

Merged
merged 2 commits into from Feb 21, 2019
Merged

Conversation

nkubala
Copy link
Contributor

@nkubala nkubala commented Feb 20, 2019

This PR splits the integration tests up into separate files, grouped roughly by skaffold functionality tested. This is done purely for readability, as the original run_test.go file was getting way too big.

While debugging failing tests @balopat and I realized that the TestDev job sometimes wasn't giving the watcher enough time to start up before changing a file and expecting a redepoy, so the test was flaking. I added a time.Sleep() of 5 seconds in the test to give it time to start running. Not my favorite fix but it should get the job done.

@codecov-io
Copy link

codecov-io commented Feb 21, 2019

Codecov Report

Merging #1678 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1678   +/-   ##
=======================================
  Coverage   46.69%   46.69%           
=======================================
  Files         123      123           
  Lines        5600     5600           
=======================================
  Hits         2615     2615           
  Misses       2716     2716           
  Partials      269      269

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d509d80...36ed26f. Read the comment docs.

@nkubala nkubala merged commit 0e175e2 into GoogleContainerTools:master Feb 21, 2019
@nkubala nkubala deleted the integration branch February 21, 2019 22:54
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

4 participants