-
Notifications
You must be signed in to change notification settings - Fork 101
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
Consider a depressolver implemented against the interface #908
Comments
kuritka
added a commit
that referenced
this issue
Jun 21, 2022
close #908 - extracting interface GslbResolver tight with gslb - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]>
kuritka
added a commit
that referenced
this issue
Jun 21, 2022
close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]>
kuritka
added a commit
that referenced
this issue
Jun 21, 2022
close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]>
kuritka
added a commit
that referenced
this issue
Jun 21, 2022
close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]>
kuritka
added a commit
that referenced
this issue
Jun 21, 2022
close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]>
kuritka
added a commit
that referenced
this issue
Jun 21, 2022
close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]>
kuritka
added a commit
that referenced
this issue
Jun 21, 2022
close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]>
kuritka
added a commit
that referenced
this issue
Jun 22, 2022
Test no.1 calling Do weight annotation test 123 test- fails on depresolver blocker Validation for strategy type (#906) Strategies are not validated. I am adding validation to the strategy type. Signed-off-by: kuritka <[email protected]> Extract depresolver interface close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]> update test Extract depresolver interface (#910) close #908 - extracting interface GslbResolver - GslbResolver Mock - refactor Reconciler Signed-off-by: kuritka <[email protected]> Weight Round Robin - annotations tests passing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been considering implementing a depressolver against the interface for a long time - mainly because of the generated mocks, which would make testing the
GSLB controller
much easier. Practice says that you shouldn't change the implementation for testing, but it would be more than appropriate at this point.if accept the new interface, implement the following steps:
Resolver
interfaceThe text was updated successfully, but these errors were encountered: