moby/integration/plugin
Sebastiaan van Stijn 5e7eade1f7
integration: don't poll for containers to be running
container.Run() should be a synchronous operation in normal circumstances;
the container is created and started, so polling after that for the
container to be in the "running" state should not be needed.

This should also prevent issues when a container (for whatever reason)
exited immediately after starting; in that case we would continue
polling for it to be running (which likely would never happen).

Let's skip the polling; if the container is not in the expected state
(i.e. exited), tests should fail as well.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-09-08 23:05:43 +02:00
..
authz integration: don't poll for containers to be running 2023-09-08 23:05:43 +02:00
common Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
graphdriver Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
logging Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
volumes Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
pkg_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00