-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Simplify integration tests #1750
Simplify integration tests #1750
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1750 +/- ##
==========================================
- Coverage 47.35% 47.08% -0.27%
==========================================
Files 126 127 +1
Lines 6179 6214 +35
==========================================
Hits 2926 2926
- Misses 2955 2990 +35
Partials 298 298
Continue to review full report at Codecov.
|
e8c5861
to
9b043cf
Compare
+ Move `Gcloud` command to the Makefile + Remove TestMain. It makes it complicated to run a single test + Replace build tags with a check on `-short` so that tests are always compiled and linted + Fix lint errors on rpc_test.go + Some test projects should not be in ./integration/examples because they shouldn’t be in ./examples + Fix flakiness on TestDev Signed-off-by: David Gageot <[email protected]>
9b043cf
to
9fe08b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one nit, and one question: when you say you fixed TestDev
- was the root cause of the flake around job redeployment issues? I'm guessing based on your solution that is change job -> deployment and instead of 10 minutes sleep it keeps looping forever.
if err != nil { | ||
t.Fatalf("Could not find job: %s %s", ns.Name, jobName) | ||
t.Fatalf("Could not find dep: %s %s", ns.Name, deployName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.Fatalf("Could not find dep: %s %s", ns.Name, deployName) | |
t.Fatalf("Could not find deployment: %s %s", ns.Name, deployName) |
Gcloud
command to the Makefile-short
so that tests are always compiled and lintedSigned-off-by: David Gageot [email protected]