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
Copy Markdown
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.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Since container.Create() already initializes HostConfig
to be non-nil, there is no need for this code. Remove it.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
NOTE TestUpdateRestartPolicy is left as is as otherwise
it will decrease its readability.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
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 <kolyshkin@gmail.com>
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Derek add label: rebuild/windowsRS1

@codecov
Copy link
Copy Markdown

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
Copy Markdown
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