Skip to content

Don't recreate database in integration tests #1697

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 1 commit into from
May 11, 2017

Conversation

ethantkoenig
Copy link
Member

There was previously an issue with the test database not being cleared between runs of the integration suite; this problem was fixed in #1693 by deleting and re-creating the test database each time tests are run

This fixes the problem, but is really slow. I realized that the reason the test database wasn't being cleared was due to a missing test fixture file. This PR adds the missing fixture, and removing the now-unnecessary deletion and recreation of test databases.

@andreynering
Copy link
Contributor

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label May 9, 2017
@lafriks
Copy link
Member

lafriks commented May 9, 2017

LGTM

@tboerger tboerger 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 May 9, 2017
@lunny lunny added this to the 1.2.0 milestone May 10, 2017
@appleboy appleboy merged commit 251fb93 into go-gitea:master May 11, 2017
@ethantkoenig ethantkoenig deleted the etk/fixtures branch May 13, 2017 03:46
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
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.

6 participants