-
Notifications
You must be signed in to change notification settings - Fork 220
feat: add sample to primary to secondary missing issue #1847
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
Conversation
...ework/src/test/java/io/javaoperatorsdk/operator/sample/primarytosecondary/JobReconciler.java
Outdated
Show resolved
Hide resolved
import static org.assertj.core.api.Assertions.assertThat; | ||
import static org.awaitility.Awaitility.await; | ||
|
||
class PrimaryToSecondaryMissingIT { |
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.
Maybe add some description that this unit test is to showcase the role of PtoS mapper and that it it not meant to be used as reusable code.
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.
makes sense, will add, thx!!
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.
done
…ample/primarytosecondary/JobReconciler.java Co-authored-by: Sébastien CROCQUESEL <[email protected]>
Kudos, SonarCloud Quality Gate passed!
|
The goal is this PR is to show why primary to secondary mapper is needed, serves to showcase the problematic use case.