Skip to content

Commit c203d18

Browse files
committed
[MERGE chakra-core#4413 @aneeshdk] RL: Apply the timeout to all tests
Merge pull request chakra-core#4413 from aneeshdk:RLTimeoutFixRel In the PR chakra-core#4384 the timeout value was geting applied to only those test cases which has timeout entries in the xml. But from the Nightly runs it looks like tests without a timoeut entry can also timeout. So making this change to apply the timeout to all tests.
2 parents d9a0f34 + 5a337d6 commit c203d18

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

bin/rl/rl.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3499,16 +3499,14 @@ GetTestInfoFromNode
34993499
return FALSE;
35003500
}
35013501

3502-
if (TestTimeout != NULL)
3503-
{
3504-
// Overriding the timeout value with the command line value
3505-
testInfo->data[i] = TestTimeout;
3506-
}
35073502
}
3508-
3509-
35103503
}
35113504
}
3505+
if (i == TIK_TIMEOUT && TestTimeout != NULL)
3506+
{
3507+
// Overriding the timeout value with the command line value
3508+
testInfo->data[i] = TestTimeout;
3509+
}
35123510
}
35133511

35143512
return TRUE;

0 commit comments

Comments
 (0)