tests : speed-up server test suite 3x (#26734)

* tests : speed-up test suite 3x

* cont : print 30 slowest tests
This commit is contained in:
Georgi Gerganov
2026-08-07 21:38:32 +03:00
committed by GitHub
parent 6de1b63473
commit 1621a3d388
4 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ def stop_server_after_each_test():
server.stop()
@pytest.fixture(scope="module", autouse=True)
def do_something():
@pytest.fixture(scope="session", autouse=True)
def load_server_presets():
# this will be run once per test session, before any tests
ServerPreset.load_all()