Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.

[merged] System containers more tests#405

Closed
giuseppe wants to merge 4 commits intoprojectatomic:masterfrom
giuseppe:system-containers-more-tests
Closed

[merged] System containers more tests#405
giuseppe wants to merge 4 commits intoprojectatomic:masterfrom
giuseppe:system-containers-more-tests

Conversation

@giuseppe
Copy link
Collaborator

@giuseppe giuseppe commented Jun 3, 2016

a few more tests

d = OSTreeMount(self.mountpoint, live=self.live, shared=self.shared)
if d.mount(self.image, self.options):
return

Copy link
Member

Choose a reason for hiding this comment

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

Are you reverting a previous patch?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, I moved the failing exception after we check that there is a system container with that name. It is needed so I can properly show an error message when users specify --live or --shared with a system container.

To avoid reintroducing the issue, I have added some more tests for --live and --shared when used on a regular Docker container.

@rhatdan
Copy link
Member

rhatdan commented Jun 3, 2016

Ok now I see. Had to look at original source to see what you were doing, github format made this confusing.

LGTM

Please update the patch

giuseppe added 4 commits June 3, 2016 21:46
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Raise an exception that --live and --shared are not supported only
after we are sure that the specified container/image is managed
through OSTree.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe force-pushed the system-containers-more-tests branch from b94656e to 6e95350 Compare June 3, 2016 19:47
@giuseppe
Copy link
Collaborator Author

giuseppe commented Jun 3, 2016

updated here ⬆️

@rhatdan
Copy link
Member

rhatdan commented Jun 3, 2016

@rh-atomic-bot r+

@rh-atomic-bot
Copy link

📌 Commit 6e95350 has been approved by rhatdan

@rh-atomic-bot
Copy link

⌛ Testing commit 6e95350 with merge e6cc1db...

rh-atomic-bot pushed a commit that referenced this pull request Jun 3, 2016
Raise an exception that --live and --shared are not supported only
after we are sure that the specified container/image is managed
through OSTree.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #405
Approved by: rhatdan
rh-atomic-bot pushed a commit that referenced this pull request Jun 3, 2016
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #405
Approved by: rhatdan
rh-atomic-bot pushed a commit that referenced this pull request Jun 3, 2016
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #405
Approved by: rhatdan
@rh-atomic-bot
Copy link

☀️ Test successful - status-atomicjenkins
Approved by: rhatdan
Pushing e6cc1db to master...

@rh-atomic-bot rh-atomic-bot changed the title System containers more tests [merged] System containers more tests Jun 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants