mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-11 13:54:51 -06:00
Add TODO for testing Stop() on a container in 'Created' state
This commit is contained in:
parent
901ec06ae8
commit
be9cdce0dd
@ -1246,6 +1246,9 @@ class WSLATests
|
|||||||
|
|
||||||
VERIFY_SUCCEEDED(container.Get().Stop(9, 10000));
|
VERIFY_SUCCEEDED(container.Get().Stop(9, 10000));
|
||||||
|
|
||||||
|
// TODO: Once 'container run' is split into 'container create' + 'container start',
|
||||||
|
// validate that Stop() on a container in 'Created' state returns ERROR_INVALID_STATE.
|
||||||
|
|
||||||
expectContainerList(
|
expectContainerList(
|
||||||
{{"exited-container", "debian:latest", WslaContainerStateExited},
|
{{"exited-container", "debian:latest", WslaContainerStateExited},
|
||||||
{"test-container-2", "debian:latest", WslaContainerStateExited}});
|
{"test-container-2", "debian:latest", WslaContainerStateExited}});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user