Skip to content
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

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

endocrimes
Copy link
Contributor

No description provided.

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,
Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link

github-actions bot commented Feb 27, 2024

This PR now has an image available for testing:

  ttl.sh/spoopy-operator-pr-:24h

Copy link
Contributor

@calebschoepp calebschoepp left a 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,
Copy link
Contributor

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>
@endocrimes endocrimes merged commit 5eef4c4 into main Feb 29, 2024
10 checks passed
@endocrimes endocrimes deleted the dani/testings branch February 29, 2024 12:00
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.

None yet

3 participants