mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
Report StatusConflict on Pod opt partial failures
- When one or more containers in the Pod reports an error on an operation report StatusConflict and report the error(s) - jsoniter type encoding used to marshal error as string using error.Error() - Update test framework to allow setting any flag when creating pods - Fix test_resize() result check Fixes #8865 Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -197,10 +197,10 @@ var _ = Describe("Podman restart", func() {
|
||||
Expect(restartTime.OutputToStringArray()[1]).To(Not(Equal(startTime.OutputToStringArray()[1])))
|
||||
})
|
||||
|
||||
It("Podman restart a container in a pod and hosts shouln't duplicated", func() {
|
||||
It("Podman restart a container in a pod and hosts should not duplicated", func() {
|
||||
// Fixes: https://github.com/containers/podman/issues/8921
|
||||
|
||||
_, ec, _ := podmanTest.CreatePod("foobar99")
|
||||
_, ec, _ := podmanTest.CreatePod(map[string][]string{"--name": {"foobar99"}})
|
||||
Expect(ec).To(Equal(0))
|
||||
|
||||
session := podmanTest.RunTopContainerInPod("host-restart-test", "foobar99")
|
||||
|
Reference in New Issue
Block a user