Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.6.1
-
None
-
a1a78c4c69257511efbcd322b87f9c9f448b4346 f129ed9d961559b489919445198727d4fd6a5d36
Description
Test runs or debugs (Ctrl-R or F5) fine however if I ran it in "Test Results" pane strange thing happen:
- one CPU core loaded up to 100%
- test crashes after few minutes on following line
QTest::qWait(12 * 60 * 1000); // Wait for 12 min
Running test in run or debug mode passes fine with no errors or crashes with CPU load near to zero. To fix the issue I set
qputenv("QTEST_FUNCTION_TIMEOUT", "1000000");
in the test constructor. Tools -> Options -> Testing -> General : Timeout = 1000 s does not work for some reason. However this did not fix CPU load.