spiegel_podman/pkg/bindings/test
Paul Holzinger 66fb7c9bb5
remote: exec inspect update exec session status
The remote API will wait 300s by default before conmon will call the
cleanup. In the meantime when you inspect an exec session started with
ExecStart() (so not attached) and it did exit we do not know that. If
a caller inspects it they think it is still running. To prevent this we
should sync the session based on the exec pid and update the state
accordingly.

For a reproducer see the test in this commit or the issue.

Fixes #18424

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-05-23 16:44:19 +02:00
..
fixture Add guard for BuildOptions.CommonBuildOpts 2021-09-30 14:30:06 -07:00
attach_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
auth_test.go Add search --cert-dir, --creds 2023-03-15 15:01:26 +09:00
common_test.go bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
connection_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
containers_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
create_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
exec_test.go remote: exec inspect update exec session status 2023-05-23 16:44:19 +02:00
generator_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
images_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
info_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
manifests_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
networks_test.go Network Create: Add --ignore flag to support idempotent script 2022-12-15 10:58:54 +02:00
pods_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
resource_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
secrets_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
system_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
test_suite_test.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
types_test.go Mark some of the option fields as ignored in pkg/bindings 2022-08-26 09:55:17 +03:00
volumes_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00