-
Notifications
You must be signed in to change notification settings - Fork 275
Add tests for late cloning #841
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
Add tests for late cloning #841
Conversation
f3c05e0 to
0602db5
Compare
2ac7199 to
3464574
Compare
b2ecf9d to
3da5e98
Compare
|
Please rebase these commits into a more curated set for review and check-in. |
3f1bc7a to
c7e0f63
Compare
b61ae9f to
358eac5
Compare
c7e0f63 to
7a15559
Compare
8ca774f to
857d169
Compare
7a15559 to
014132d
Compare
857d169 to
3bd25c9
Compare
014132d to
6dabd0d
Compare
6dabd0d to
a7848c5
Compare
41cd572 to
e641b3c
Compare
a7848c5 to
b741e39
Compare
7bfb715 to
5de69a5
Compare
8625f9a to
a0596a7
Compare
5de69a5 to
82fb4d3
Compare
82fb4d3 to
020e6a4
Compare
a0596a7 to
ff2fbe3
Compare
020e6a4 to
6cf9c65
Compare
| _, 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") { |
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.
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
dcantah
left a comment
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. One suggestion that's more for another PR really
ff2fbe3 to
3fe9813
Compare
6cf9c65 to
5b85a7a
Compare
3fe9813 to
2379dd1
Compare
5b85a7a to
519979f
Compare
2379dd1 to
65faf47
Compare
519979f to
a6ad0f9
Compare
9de34df to
452b379
Compare
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]>
a6ad0f9 to
e7f1f8a
Compare
kevpar
left a comment
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
|
@ambarve, is there anything needed for this? Or you were looking for Kathryns sign off also as she was reviewing? |
|
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. |
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]