0

是否可以在 Qt 测试中忽略 600 秒的 MAX_VALUE?我尝试:

qputenv("QTEST_FUNCTION_TIMEOUT", "1000000"); // 1'000 sec

但结果是:

System.Exception: Process timed out: 600s

因此可以将超时时间从 300 秒增加到 600 秒。问题是,在一种情况下我需要 800 秒,我怎么能意识到这一点?

将超时设置为 Qt 测试

4

0 回答 0