mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
We need to reset INSTRUMENTED_CALLS variable before running every subsuite. If we do not do this then the subsuite running on a particular process called A will send the accumulated instrumented calls gathered by the previous subsuites which also ran on the process A. This also fixes the extra delay that we used to experience after the tests had finished running. The extra delay was due to the duplicate instrumented calls in the INSTRUMENTED_CALLS list. The size of this list used to be ~100k for parallel model as opposed to ~1800 for serial model.