Skip to content
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

Hotfix for integration testing #2473

Merged
merged 2 commits into from
Sep 10, 2017
Merged

Hotfix for integration testing #2473

merged 2 commits into from
Sep 10, 2017

Conversation

tboerger
Copy link
Member

@tboerger tboerger commented Sep 7, 2017

No description provided.

@bkcsoft
Copy link
Member

bkcsoft commented Sep 7, 2017

LGTM

1 similar comment
@lafriks
Copy link
Member

lafriks commented Sep 7, 2017

LGTM

@tboerger tboerger added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Sep 7, 2017
@lunny
Copy link
Member

lunny commented Sep 8, 2017

But CI failed?

@lunny lunny added this to the 1.3.0 milestone Sep 8, 2017
@tboerger
Copy link
Member Author

tboerger commented Sep 8, 2017

True, but I don't understand why this fails...

@@ -3,7 +3,7 @@ RUN_MODE = prod

[database]
DB_TYPE = mysql
HOST = 127.0.0.1:3306
HOST = mysql:3306
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not general, just for drone. We will not be able to run tests on local env (without modifying host). Same for pgsql.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will focus on ci integration for sure

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but could we run the test locally?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only if the value can be provided via some environment variable. But beside that you can also run drone exec locally.

@sapk
Copy link
Member

sapk commented Sep 9, 2017

I think we can merge this PR. Since it fix database access.

For the rest, it maybe the deployment of the integration env that take to much time and is not ready for testing when it start in some conditions.

@lunny lunny merged commit fd85e25 into go-gitea:master Sep 10, 2017
@tboerger tboerger deleted the hot-fix-integration branch September 14, 2017 07:24
lafriks pushed a commit to ethantkoenig/gitea that referenced this pull request Sep 20, 2017
* Hotfix for integration testing

* Comment sqlite tests because of database locking issues
lafriks pushed a commit that referenced this pull request Sep 20, 2017
* Fix lint errors

* Fix fmt errors (#2544)

* Hotfix for integration testing (#2473)

* Hotfix for integration testing
@lafriks lafriks added the backport/done All backports for this PR have been created label Sep 20, 2017
@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
backport/done All backports for this PR have been created 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.

None yet

8 participants