Skip to content

Conversation

@nxtn
Copy link
Contributor

@nxtn nxtn commented Feb 16, 2020

PR Summary

Adds a test to make reproduce steps for #11858 to prove that the bug in #11851 is reachable.

PR Context

CI is expected to fail for now. You should be able to see the following errors:

Stop-Service : Service 'testrawservice1 (testrawservice1)' cannot be stopped due to the following error: Cannot stop testrawservice2 service on computer '.'.
At line:1 char:1
+ Stop-Service raw1 -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Stop-Service], ServiceCommandException
+ FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.StopServiceCommand

Stop-Service : Collection was modified; enumeration operation may not execute.
At line:1 char:1
+ Stop-Service raw1 -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Stop-Service], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.StopServiceCommand

After #11851 the InvalidOperationException will disappear.

PR Checklist

@ghost ghost assigned daxian-dbw Feb 16, 2020
@nxtn nxtn changed the title Add a test to reproduce a bug [NO MERGE] Add a test to reproduce a bug Feb 16, 2020
@TravisEz13 TravisEz13 changed the title [NO MERGE] Add a test to reproduce a bug WIP - Add a test to reproduce a bug Feb 18, 2020
@TravisEz13
Copy link
Member

Please prefix the PR with WIP if it is not ready to merge

@nxtn
Copy link
Contributor Author

nxtn commented Mar 27, 2020

Closing as I don't plan to complete this at all.

@nxtn nxtn closed this Mar 27, 2020
@nxtn nxtn deleted the tests branch March 27, 2020 15:27
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

Successfully merging this pull request may close these issues.

3 participants