Skip to content

WIP - Add a test to reproduce a bug - #11863

Closed
Next Turn (nxtn) wants to merge 1 commit into
PowerShell:masterfrom
nxtn:tests
Closed

Next Turn (nxtn) wants to merge 1 commit into
PowerShell:masterfrom
nxtn:tests

Conversation

@nxtn

Copy link
Copy Markdown
Contributor

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

@nxtn Next Turn (nxtn) changed the title Add a test to reproduce a bug [NO MERGE] Add a test to reproduce a bug Feb 16, 2020
@TravisEz13 Travis Plunk (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
Copy Markdown
Member

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

@nxtn

Copy link
Copy Markdown
Contributor Author

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

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