On 2025-05-12 00:27, Yue Gui wrote:
My solution to this issue: The `test_lock_contention` test, which simulates high lock contention, is timing out on RISC-V systems likely due to inherent performance differences of the architecture compared to more established platforms like x86_64, for which the current 5-second timeout is calibrated. To address this without masking potential regressions on other architectures, I propose to conditionally adjust the timeout duration for the RISC-V architecture. This is achieved by detecting the architecture using `platform.machine()` within the test case and applying a more lenient timeout (e.g., 15 seconds) specifically for RISC-V.The debdiff patch is in the attachment.I have tested that locally,and it works well.Please let me know whether this solution can be accepted. Gui-Yue Best Regards
Hello Gui-Yue, Thanks for identifying this and authoring this patch! Would you be willing to submit this to upstream [1]? Best, Antonio Russo [1] https://github.com/element-hq/synapse