Skip to content

TestDaemonRestartIpcMode: move to integration#38843

Merged
yongtang merged 4 commits intomoby:masterfrom
kolyshkin:ipc-test-move
Mar 9, 2019
Merged

TestDaemonRestartIpcMode: move to integration#38843
yongtang merged 4 commits intomoby:masterfrom
kolyshkin:ipc-test-move

Conversation

@kolyshkin
Copy link
Contributor

The core of this PR is last commit, which moves the TestDaemonRestartIpcMode test case from integration-cli to integration. The test logic itself has not changed, except these two things:

Other commits are some minor cleanups; please see individual commit descriptions for details.

Since container.Create() already initializes HostConfig
to be non-nil, there is no need for this code. Remove it.

Signed-off-by: Kir Kolyshkin <[email protected]>
NOTE TestUpdateRestartPolicy is left as is as otherwise
it will decrease its readability.

Signed-off-by: Kir Kolyshkin <[email protected]>
Move the test case from integration-cli to integration.

The test logic itself has not changed, except these
two things:

* the new test sets default-ipc-mode via command line
  rather than via daemon.json (less code);
* the new test uses current API version.

Signed-off-by: Kir Kolyshkin <[email protected]>
Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kolyshkin
Copy link
Contributor Author

Windows CI timed out. Let's see if Derek understands commands in the middle of the text.

Derek add label: rebuild/windowsRS1

@kolyshkin
Copy link
Contributor Author

Derek add label: rebuild/windowsRS1

@codecov
Copy link

codecov bot commented Mar 9, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@54dddad). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #38843   +/-   ##
=========================================
  Coverage          ?   36.46%           
=========================================
  Files             ?      613           
  Lines             ?    45814           
  Branches          ?        0           
=========================================
  Hits              ?    16707           
  Misses            ?    26824           
  Partials          ?     2283

Copy link
Member

@yongtang yongtang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants