Skip to content

Conversation

@ambarve
Copy link
Contributor

@ambarve ambarve commented Jun 13, 2020

This is one of the many small PRs that enable the support for late cloning.
This commit adds several end to end tests for the late cloning feature.

Signed-off-by: Amit Barve [email protected]

@ambarve ambarve changed the title Add support for creating late clones via hcsshim [Late_clone PR 5/5] Add tests for late cloning Jun 13, 2020
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from f3c05e0 to 0602db5 Compare June 16, 2020 00:47
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 2ac7199 to 3464574 Compare June 16, 2020 06:29
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from b2ecf9d to 3da5e98 Compare June 17, 2020 02:07
@ambarve ambarve changed the title [Late_clone PR 5/5] Add tests for late cloning Add tests for late cloning Jun 17, 2020
@ambarve ambarve marked this pull request as ready for review June 17, 2020 02:07
@ambarve ambarve requested a review from a team as a code owner June 17, 2020 02:07
@kevpar
Copy link
Member

kevpar commented Jul 15, 2020

Please rebase these commits into a more curated set for review and check-in.

@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from 3f1bc7a to c7e0f63 Compare August 18, 2020 22:29
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from b61ae9f to 358eac5 Compare August 21, 2020 00:09
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from c7e0f63 to 7a15559 Compare September 17, 2020 07:48
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch 2 times, most recently from 8ca774f to 857d169 Compare September 17, 2020 22:37
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from 7a15559 to 014132d Compare September 18, 2020 21:01
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 857d169 to 3bd25c9 Compare September 18, 2020 21:44
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from 014132d to 6dabd0d Compare September 18, 2020 22:22
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from 6dabd0d to a7848c5 Compare October 12, 2020 19:41
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 41cd572 to e641b3c Compare October 13, 2020 00:15
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from a7848c5 to b741e39 Compare October 22, 2020 05:07
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch 2 times, most recently from 7bfb715 to 5de69a5 Compare October 22, 2020 05:56
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch 2 times, most recently from 8625f9a to a0596a7 Compare October 22, 2020 06:07
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 5de69a5 to 82fb4d3 Compare October 22, 2020 06:13
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 82fb4d3 to 020e6a4 Compare November 16, 2020 20:33
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from a0596a7 to ff2fbe3 Compare November 16, 2020 20:36
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 020e6a4 to 6cf9c65 Compare November 16, 2020 23:02
_, err := client.RunPodSandbox(ctx, cloneSandboxRequest)
if err == nil {
t.Fatalf("pod cloning should fail with mismatching configurations error")
} else if !strings.Contains(err.Error(), "doesn't match") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Anyway (it's obviously not present in this PR) that we could export the err value so we could use it directly here. If we ever changed the error string this would break

Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

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

LGTM. One suggestion that's more for another PR really

@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from ff2fbe3 to 3fe9813 Compare December 10, 2020 18:56
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 6cf9c65 to 5b85a7a Compare December 10, 2020 18:57
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from 3fe9813 to 2379dd1 Compare December 22, 2020 09:38
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 5b85a7a to 519979f Compare December 22, 2020 09:38
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch from 2379dd1 to 65faf47 Compare December 23, 2020 22:09
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from 519979f to a6ad0f9 Compare December 23, 2020 22:09
@ambarve ambarve force-pushed the user/ambarve/lcpr4_clone_contianer branch 2 times, most recently from 9de34df to 452b379 Compare January 27, 2021 22:20
This is one of the many small PRs that enable the support for late
cloning. This commit adds several end to end tests for the late cloning
feature.

Signed-off-by: Amit Barve <[email protected]>
@ambarve ambarve force-pushed the user/ambarve/lcpr5_clone_tests branch from a6ad0f9 to e7f1f8a Compare January 27, 2021 22:22
Copy link
Member

@kevpar kevpar left a comment

Choose a reason for hiding this comment

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

LGTM

@dcantah
Copy link
Contributor

dcantah commented Feb 22, 2021

@ambarve, is there anything needed for this? Or you were looking for Kathryns sign off also as she was reviewing?

@ambarve
Copy link
Contributor Author

ambarve commented Feb 22, 2021

Oh, I didn't realize that Kathryn had marked the conversation as resolved. I was just waiting to see if she had something more to say about it. But I will merge this now. Cool.

@ambarve ambarve merged commit b488d5c into user/ambarve/lcpr4_clone_contianer Feb 22, 2021
@helsaawy helsaawy deleted the user/ambarve/lcpr5_clone_tests branch May 24, 2022 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants