-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. #3092
Conversation
Need dockhippie/golang#2 |
I need to setup a separate repo to not influence other repos tests since clone after will not work because the server is not really started and can't get file for lfs. |
Codecov Report
@@ Coverage Diff @@
## master #3092 +/- ##
==========================================
+ Coverage 34.06% 34.82% +0.76%
==========================================
Files 274 274
Lines 40026 40026
==========================================
+ Hits 13636 13941 +305
+ Misses 24455 24086 -369
- Partials 1935 1999 +64
Continue to review full report at Codecov.
|
LGTM |
LGTM |
CI failed. |
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.
One general comment is that there is a lot of repeated boilerplate (e.g. making commits, pushing). While it would be nice to consolidate, I'm guessing there are other tests with similar boilerplate, so it's probably best to do wide-scale refactoring in a separate PR.
integrations/git_test.go
Outdated
}) | ||
|
||
u.Path = "user2/repo-tmp-17.git" | ||
u.User = url.UserPassword("user2", "password") |
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.
nit: use the userPassword
constant (also in 162).
@ethantkoenig Replaced with userPassword and yes some integration tests could be refactor (in another PR) and maybe we could use a lib in this case to generate random file to commit. |
@sapk maybe you could force push once since the Drone just recovered. |
@sapk test failed |
98f40cd
to
0880e19
Compare
@sapk CI still failed because of fmt-check |
@lunny I know but I fix it but drone keep to stay on that commit. I retry to start multiple time, squash the commit fixing fmt ... with no luck |
@lafriks thx, but drone seems broken and block on an unrelated test since 1hour ... |
@sapk |
@lafriks It should not be in 1.3 |
thx all for the help. |
All in the title.
Fix #3101