summaryrefslogtreecommitdiffstats
path: root/integrations/mysql.ini.tmpl
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-01-29 12:41:44 +0000
committerGitHub <noreply@github.com>2022-01-29 12:41:44 +0000
commitf7b152f1262e5bec4f6aec061e2ded65d0b53893 (patch)
treec88d9dfd9a216db2e430419eef26f8fed8e47ce2 /integrations/mysql.ini.tmpl
parent92b715e0f2c655169e82fb76f7b109b8de21a095 (diff)
downloadgitea-f7b152f1262e5bec4f6aec061e2ded65d0b53893.tar.gz
gitea-f7b152f1262e5bec4f6aec061e2ded65d0b53893.zip
Ensure git tag tests and others create test repos in tmpdir (#18447)
* Ensure git tag tests and other create test repos in tmpdir There are a few places where tests appear to reuse testing repos which causes random CI failures. This PR simply changes these tests to ensure that cloning always happens into new temporary directories. Fix #18444 * Change log root for integration tests to use the REPO_TEST_DIR There is a potential race in the drone integration tests whereby test-mysql etc will start writing to log files causing make test-check fail. Fix #18077 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'integrations/mysql.ini.tmpl')
-rw-r--r--integrations/mysql.ini.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/mysql.ini.tmpl b/integrations/mysql.ini.tmpl
index 6de2374277..c1780110a3 100644
--- a/integrations/mysql.ini.tmpl
+++ b/integrations/mysql.ini.tmpl
@@ -101,7 +101,7 @@ PROVIDER_CONFIG = integrations/gitea-integration-mysql/data/sessions
[log]
MODE = test,file
-ROOT_PATH = mysql-log
+ROOT_PATH = {{REPO_TEST_DIR}}mysql-log
ROUTER = ,
XORM = file
ENABLE_SSH_LOG = true