-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sytest is slow and takes 4 minutes to run a single test #1299
Comments
Hrm, indeed. For me it's a fairly consistent 1m40s, but that's still quite slow. There's a couple of things going on here, both of them stemming from the fact that the The first thing is that, since Synapse 1.68, there is a Rust build step. This downloads a whole bunch of Rust libraries, so not only is this slow, it also breaks OFFLINE mode. I think the build process for The other thing that might be biting you is that the synapse run script ( |
@richvdh Thanks for taking the time to reply and look into the aspects here!
I think this was definitely the case (was seeing |
either that, or merge |
Sytest is slow and takes 4 minutes (pretty consistent 3m40s run-time) to run a single test which makes it very draining to figure out any problem. Is this expected?
Most of it is all in the setup part of it.
Since the Sytest failure only occurs in the
MULTI_POSTGRES
,WORKERS
variation, I can't just run./run-tests.pl
directly.The test could be ported to Complement but this is orthogonal and I'm just trying to debug a broken test in CI. And the failure might be specific to the Sytest environment.
Complement is also slow but at least is the way forward.
The text was updated successfully, but these errors were encountered: