Support for CancellationTokenSource in TestContext to help in timeout…#585
Conversation
|
do we have a RFC for this change? |
Yes will author one. |
|
I would encourage you to add E2E test for the scenario which shows how can user leverage this CancellationToken. |
Added E2E tests |
| <data name="UTA_TestMethodExpectedParameters" xml:space="preserve"> | ||
| <value>Only data driven test methods can have parameters. Did you intend to use [DataRow] or [DynamicData]?</value> | ||
| </data> | ||
| <data name="Execution_Test_Cancelled" xml:space="preserve"> |
There was a problem hiding this comment.
Please xlf file changes associated with this change
There was a problem hiding this comment.
Run command "build.cmd -uxlf". You would have to commit the xlf files changes post running the script.
| namespace TimeoutTestProject | ||
| { | ||
| [TestClass] | ||
| public class TerimnateLongRunningTasksUsingTokenTestClass |
There was a problem hiding this comment.
TerimnateLongRunningTasksUsingTokenTestClass [](start = 17, length = 44)
Nit: Terminate
|
@cltshivash Can you please add an RFC for this. If added already, please add the link here. Thanks. |
Support for CancellationTokenSource in TestContext to help in timeout scenario