moby/integration
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
..
build Add test for buildkit history trace propagation 2023-09-07 18:38:22 +00:00
capabilities Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
config Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
container integration: don't poll for containers to be running 2023-09-08 23:05:43 +02:00
daemon Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
internal Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
network Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
plugin integration: don't poll for containers to be running 2023-09-08 23:05:43 +02:00
secret Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
service Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
session Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
system Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00