Skip to content

Fix continuance tests #18027

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

Merged
merged 3 commits into from
Dec 21, 2021
Merged

Fix continuance tests #18027

merged 3 commits into from
Dec 21, 2021

Conversation

Gusted
Copy link
Contributor

@Gusted Gusted commented Dec 19, 2021

- Fix errors on tests that aren't first-run.
- Resolves go-gitea#18021
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Dec 19, 2021
@zeripath zeripath added type/testing and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 19, 2021
@zeripath zeripath added this to the 1.16.0 milestone Dec 19, 2021
@wxiaoguang
Copy link
Contributor

Is it better to prepare a clean environment every-time than cleaning up?

If we try to clean the modified test data, there may be still a chance that the test data can not be recovered (eg: panic), and in future more and more tests would have to do such cleaning up (and some developers may forget to do it).

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Dec 19, 2021
@Gusted
Copy link
Contributor Author

Gusted commented Dec 19, 2021

Is it better to prepare a clean environment every-time than cleaning up?

We can run the clean command beforehand, but I personally don't have a good feeling by doing that - I don't have any objections either.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 21, 2021
@techknowlogick techknowlogick merged commit 273bef1 into go-gitea:main Dec 21, 2021
@Gusted Gusted deleted the fix-continue-tests branch January 2, 2022 22:50
Chianina pushed a commit to Chianina/gitea that referenced this pull request Mar 28, 2022
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration tests fail if LANG is not ""
6 participants