-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cleanup testing harness and add integration test for executor-class-based-deployment-config #112
Conversation
Signed-off-by: Danielle Lancashire <dani@builds.terrible.systems>
|
||
mgr, err := ctrl.NewManager(envTest.cfg, manager.Options{ | ||
Metrics: metricsserver.Options{BindAddress: "0"}, | ||
Scheme: envTest.scheme, | ||
Logger: logger, |
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.
This change means that when an integration test fails, its logs will be printed alongside the failure - this is pretty helpful for debugging, but can get noisy.
If we decide it is too noisy in the future, then we can also tie it to an env var like SPINKUBE_TEST_LOGS=1
to opt-in.
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.
Does this github comment belong as a comment in the code for future reference?
This PR now has an image available for testing:
|
1da73ec
to
f2fd4d3
Compare
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.
Couple comments. Nice work.
|
||
mgr, err := ctrl.NewManager(envTest.cfg, manager.Options{ | ||
Metrics: metricsserver.Options{BindAddress: "0"}, | ||
Scheme: envTest.scheme, | ||
Logger: logger, |
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.
Does this github comment belong as a comment in the code for future reference?
Signed-off-by: Danielle Lancashire <dani@builds.terrible.systems>
f2fd4d3
to
f7eeca6
Compare
No description provided.