Re: [llvm-dev] Timeout tests timing out

2020-09-17 Thread Mehdi AMINI
Hi, Depending on timing in a test is quite brittle in general: can we mock the timeout instead and make this fully deterministic somehow? The test has this comment: > FIXME: This test is fragile because it relies on time which can > be affected by system performance. In particular we are current

Re: Timeout tests timing out

2020-09-17 Thread Dan Liew
Hi David, Unfortunately writing a reliable test is tricky given that the functionality we're trying to test involves timing. I would advise against disabling the test entirely because it actually tests functionality that people use. I'd suggest bumping up the time limits. This is what I've done in