]> source.dussan.org Git - gitea.git/commit
Ensure git tag tests and others create test repos in tmpdir (#18447)
authorzeripath <art27@cantab.net>
Sat, 29 Jan 2022 12:41:44 +0000 (12:41 +0000)
committerGitHub <noreply@github.com>
Sat, 29 Jan 2022 12:41:44 +0000 (12:41 +0000)
commitf7b152f1262e5bec4f6aec061e2ded65d0b53893
treec88d9dfd9a216db2e430419eef26f8fed8e47ce2
parent92b715e0f2c655169e82fb76f7b109b8de21a095
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>
integrations/mssql.ini.tmpl
integrations/mysql.ini.tmpl
integrations/mysql8.ini.tmpl
integrations/pgsql.ini.tmpl
integrations/sqlite.ini.tmpl
modules/git/commit_info_test.go
modules/git/repo_compare_test.go
modules/git/repo_tag_test.go