-
Notifications
You must be signed in to change notification settings - Fork 181
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
Refactor Fuzz implementation #536
Conversation
Signed-off-by: AdamKorcz <adam@adalogics.com>
controllers/suite_test.go
Outdated
MetricsRecorder: testMetricsH.MetricsRecorder, | ||
} | ||
if err := (reconciler).SetupWithManager(testEnv, KustomizationReconcilerOptions{MaxConcurrentReconciles: 4}); err != nil { | ||
panic(fmt.Sprintf("Failed to start GitRepositoryReconciler: %v", err)) |
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.
panic(fmt.Sprintf("Failed to start GitRepositoryReconciler: %v", err)) | |
panic(fmt.Sprintf("Failed to start KustomizationReconciler: %v", err)) |
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.
Nice catch. 🙇
Structure the fuzz implementation to be closer to what go native will support. Add Makefile target to enable smoketesting fuzzers. Add smoketest as CI workflow. Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
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
Thanks @pjbgf
Following-up from the security audit, I reviewed the initial Fuzz PR and created this PR that supersedes it.
Main changes: