-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integration/TestExportContainerAfterDaemonRestart: add #36606
Conversation
This test case checks that a container created before start of the currently running dockerd can be exported (as reported in moby#36561). To satisfy this condition, either a pre-existing container is required, or a daemon restart after container creation. Signed-off-by: Kir Kolyshkin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐯
// condition, daemon restart is needed after container creation. | ||
func TestExportContainerAfterDaemonRestart(t *testing.T) { | ||
skip.If(t, testEnv.DaemonInfo.OSType != "linux") | ||
skip.If(t, testEnv.IsRemoteDaemon()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
OK so it seems the new test is working. A couple of unrelated failures: ppc01:05:02 === RUN TestCreateServiceConfigFileMode s39001:24:56 PASS: docker_api_containers_test.go:1285: DockerSuite.TestPostContainerAPICreateWithStringOrSliceEntrypoint 1.645s the last test case was added by @ncdc in #26718 |
@kolyshkin it looks like the output obtained was |
Issue was added to track the flaky/broken test: #36611 |
This test case checks that a container created before start of the currently running dockerd can be exported (as reported in #36561). To satisfy this condition, either a pre-existing container is required, or a daemon restart after container creation.