-
Notifications
You must be signed in to change notification settings - Fork 316
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
engine: updateMode=synclet only if explicitly set with flag [8240] #3563
Conversation
} | ||
|
||
func TestContainerBuildLocal(t *testing.T) { |
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.
Deleted a bunch of tests that are covered more concisely in build_and_deployer_live_update_test.go
f.assertContainerRestarts(1) | ||
} | ||
|
||
func TestReturnLastUnexpectedError(t *testing.T) { | ||
f := newBDFixture(t, k8s.EnvGKE, container.RuntimeDocker) | ||
f := newBDFixture(t, k8s.EnvDockerDesktop, container.RuntimeDocker) |
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.
We should probably fix the SanchoLiveUpdate manifest (i.e. the one we use by default in most of these tests) to NOT have a restart_container step in it, since that's been deprecated on the user side, and having that step in the manifest means we can't test it against UpdateModeKubectlExec (need to use a different update mode or a different test manifest). Tracked that work here but for now it's easier to just change the k8s cluster so we get an update mode that allows restart_container()
-- we'll deal with the rest if/when we actually deprecate that codepath.
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.
"flgag" made me giggle
Hello @landism, @nicks,
Please review the following commits I made in branch maiamcc/rm-default-synclet:
dee0445 (2020-07-07 18:16:45 -0400)
fix other tests, rm redundant ones
da404d3 (2020-07-07 17:14:54 -0400)
fix liveupdate tests that expected synclet
12a71c2 (2020-07-07 12:19:47 -0400)
only use synclet with explicit flag (needs tests)
Code review reminders, by giving a LGTM you attest that: