1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-19 10:03:40 +00:00
feiniks 1ceeeb2ad3 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>
2024-11-21 18:16:58 +08:00
2024-11-21 18:16:58 +08:00
2024-10-24 10:46:41 +08:00
2024-10-24 18:34:16 +08:00
2024-10-24 18:34:16 +08:00
2024-11-20 16:21:51 +08:00

Seafile Server Tests

Run it locally

To run the tests, you need to install pytest first:

pip install -r ci/requirements.txt

Compile and install ccnet-server and seafile-server

cd ccnet-server
make
sudo make install

cd seafile-server
make
sudo make install

Then run the tests with

cd seafile-server
./run_tests.sh

By default the test script would try to start ccnet-server and seaf-server in /usr/local/bin, if you make install to another location, say /opt/local, run it like this:

SEAFILE_INSTALL_PREFIX=/opt/local ./run_tests.sh
Description
Mirror
Readme 18 MiB
Languages
C 76.4%
Go 12.6%
Python 9%
M4 1%
Vala 0.5%
Other 0.5%