mirror of
https://github.com/containers/podman.git
synced 2025-05-23 10:07:33 +08:00
update container status with new results
a bug was being caused by the fact that the container network results were not being updated properly. given that jhon is on PTO, this PR will replace #8362 Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@ -60,7 +60,7 @@ class Podman(object):
|
||||
"""
|
||||
{
|
||||
"cniVersion": "0.3.0",
|
||||
"name": "podman",
|
||||
"name": "default",
|
||||
"plugins": [{
|
||||
"type": "bridge",
|
||||
"bridge": "cni0",
|
||||
|
@ -87,7 +87,7 @@ class TestContainers(unittest.TestCase):
|
||||
self.assertEqual(len(containers), 2)
|
||||
|
||||
def test_stop_container(self):
|
||||
top = self.client.containers.get("top")
|
||||
top = self.client.containers.get(TestContainers.topContainerId)
|
||||
self.assertEqual(top.status, "running")
|
||||
|
||||
# Stop a running container and validate the state
|
||||
|
Reference in New Issue
Block a user