Bump up default CPAOT test timeout to 2 minutes (#6537)

Early on in CPAOT bring-up I asked Simon to set a short timeout
for test executions as many tests were timing out due to compiler
bugs. This is no longer the case - we only have a handful of
remaining failing tests and some of them are now suffering from
the short timeout. For now I have bumped up the timeout from 30
seconds to 2 minutes and that seems to be fixing all Top200 tests
that used to fail with the -103 exit code (about 5 tests overall).

Thanks

Tomas
This commit is contained in:
Tomáš Rylek 2018-11-08 10:20:01 +01:00 коммит произвёл GitHub
Родитель 1b165735d0
Коммит 93ee893418
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -25,7 +25,7 @@ namespace ReadyToRun.TestHarness
class Program
{
// Default timeout in milliseconds
private const int DefaultTestTimeOut = 30000;
private const int DefaultTestTimeOut = 2 * 60 * 1000;
// Error code returned when events get lost. Use this to re-run the test a few times.
private const int StatusTestErrorEventsLost = -101;