1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-04 00:44:21 +00:00

Get gc id before index blocks (#718)

* Get gc id before index blocks

* Add test gc online

* Add test gc online

* Adjust time of run gc

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-11-21 18:16:58 +08:00
committed by GitHub
parent 2f68e9d79a
commit 1ceeeb2ad3
3 changed files with 82 additions and 20 deletions

View File

@@ -237,10 +237,7 @@ def main():
args = parse_args()
if on_github_actions() and not args.test_only:
fetch_and_build()
if on_github_actions():
dbs = ('sqlite3', 'mysql')
else:
dbs = ('sqlite3',)
dbs = ('mysql',)
for db in dbs:
start_and_test_with_db(db)