Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancelling while test execution is in progress in effecting #225

Closed
harshjain2 opened this issue Nov 15, 2016 · 1 comment
Closed

Cancelling while test execution is in progress in effecting #225

harshjain2 opened this issue Nov 15, 2016 · 1 comment

Comments

@harshjain2
Copy link
Contributor

harshjain2 commented Nov 15, 2016

Description

Cancelling the test execution while the test execution is in progress in not effectively reflected. Tests continue to execute and warnings appear.

Steps to reproduce

Execute command dotnet.exe test [TestProject].csproj in a project with large number of test cases.
Immediately cancel the test execution by using command CTRL+C

Expected behavior

Test execution should stop immediately.

Actual behavior

Test execution doesn't stop immediately and warnings appear.

Warnings:
E:\code\github\harshjain2\vstest\tools\dotnet\sdk\1.0.0-preview3-004056\Microsoft.TestPlatform.targets(38,5): warning MSB4220: Waiting for the currently executing task "Microsoft.TestPlatform.Build.Tasks.VSTestTask" to cancel. [E:\Code\github\harshjain2\vstest\test\vstest.console.UnitTests\vstest.console.UnitTests.csproj]
E:\code\github\harshjain2\vstest\tools\dotnet\sdk\1.0.0-preview3-004056\Microsoft.TestPlatform.targets(38,5): warning MSB4220: Waiting for the currently executing task "Microsoft.TestPlatform.Build.Tasks.VSTestTask" to cancel. [E:\Code\github\harshjain2\vstest\test\vstest.console.UnitTests\vstest.console.UnitTests.csproj]
E:\code\github\harshjain2\vstest\tools\dotnet\sdk\1.0.0-preview3-004056\Microsoft.TestPlatform.targets(38,5): warning MSB4220: Waiting for the currently executing task "Microsoft.TestPlatform.Build.Tasks.VSTestTask" to cancel. [E:\Code\github\harshjain2\vstest\test\vstest.console.UnitTests\vstest.console.UnitTests.csproj]

Environment

Please share additional details about the test environment.
Operating system, Build version of vstest.console

Version: 1.0.0-preview3-004056
Commit SHA-1 hash: ccc4968bc3

Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64

@codito
Copy link
Contributor

codito commented Nov 15, 2016

Same as #199

@codito codito closed this as completed Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants