diff options
author | zeripath <art27@cantab.net> | 2022-01-29 12:41:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 12:41:44 +0000 |
commit | f7b152f1262e5bec4f6aec061e2ded65d0b53893 (patch) | |
tree | c88d9dfd9a216db2e430419eef26f8fed8e47ce2 /integrations/pgsql.ini.tmpl | |
parent | 92b715e0f2c655169e82fb76f7b109b8de21a095 (diff) | |
download | gitea-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/pgsql.ini.tmpl')
-rw-r--r-- | integrations/pgsql.ini.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/pgsql.ini.tmpl b/integrations/pgsql.ini.tmpl index a325ea0286..1c4d843712 100644 --- a/integrations/pgsql.ini.tmpl +++ b/integrations/pgsql.ini.tmpl @@ -83,7 +83,7 @@ PROVIDER_CONFIG = integrations/gitea-integration-pgsql/data/sessions [log] MODE = test,file -ROOT_PATH = pgsql-log +ROOT_PATH = {{REPO_TEST_DIR}}pgsql-log ROUTER = , XORM = file ENABLE_SSH_LOG = true |