-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[MGDSTRM-9790] Test instance upgrade while suspended #854
Conversation
62b06fe
to
b2095e9
Compare
While trying to add a fourth test without impacting the duration of the tests too much, this PR certainly grew larger than what was expected for MGDSTRM-9790. I'm happy to split out the other changes if it is easier to review that way. |
@@ -165,16 +166,29 @@ public static Function<InputStream, InputStream> replacer(final Map<String, Stri | |||
* Restart kubeapi | |||
*/ | |||
public static void restartKubeApi() { |
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.
I'd be fine with removing this method and the test that is based upon it. This will not cause an informer to relist, just the underlying watches to reconnect. We also no longer have our own informer logic.
@@ -42,9 +49,16 @@ | |||
*/ | |||
@QuarkusTest | |||
@QuarkusTestResource(KubernetesServerTestResource.class) | |||
public class SuiteUnitTest extends AbstractST { |
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.
What was the motivation to remove the base class?
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.
Aside from the annotations, the only thing gained was the setup of the KubeClient
. I figured the three other *ST classes had more to gain by consolidating setup in the base class without adding an intermediate parent.
Signed-off-by: Michael Edgar <medgar@redhat.com>
b2095e9
to
cd06437
Compare
SonarCloud Quality Gate failed. |
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.
@shawkins please let me if you get back to this and have any other comments.
No other comments, the application code changes are minimal and I'm fine with the test changes.
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!
ManagedKafkaAgentSync
processing)