-
-
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
Migration test error (v230) #21854
Comments
Looks like https://drone.gitea.io/go-gitea/gitea/63389 is PASS |
I have seen this failure in one PR as well: https://drone.gitea.io/go-gitea/gitea/63579/2/14 |
That one is an actual bug in that PR as I wrote in my comments on that PR and provided suggestions to fix. |
Also seen on other unrelated PRs. I'd say the test is definitely flaky: |
This appears unrelated to your last comment and the one mentioned in this issue. |
Now looking at this particular issue:
The directory is formed from the name of the current Test but if we check the fixtures directories we see that they're labelled: /drone/src/models/migrations/fixtures/Test_addConfidentialClientColumnToOAuth2ApplicationTable When the test name was changed in #21549 these directories should have also been updated. |
Unfortunately go-gitea#21549 changed the name of Testcases without changing their associated fixture directories. Fix go-gitea#21854 Signed-off-by: Andrew Thornton <[email protected]>
Unfortunately #21549 changed the name of Testcases without changing their associated fixture directories. Fix #21854 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Description
Migration v230 is producing the following error
Gitea Version
main (c144942)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
In integration test on Drone
Database
No response
The text was updated successfully, but these errors were encountered: