-
Notifications
You must be signed in to change notification settings - Fork 210
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
Integration tests framework mszczygiel part3 #1797
Integration tests framework mszczygiel part3 #1797
Conversation
…mework_mszczygiel_part3
…mework_mszczygiel_part3 # Conflicts: # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/client/HermesTestClient.java # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/client/ManagementTestClient.java
…mework_mszczygiel_part3 # Conflicts: # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/client/HermesTestClient.java # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/client/ManagementTestClient.java
…mework_mszczygiel_part3 # Conflicts: # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/client/HermesTestClient.java # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/client/ManagementTestClient.java
|
||
//TODO Fix this test later | ||
|
||
// @Test |
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 we can use @Disabled
instead of commenting this out? it would be a good reminder to have it in a summary (applies to other commented out test aswell)
} | ||
|
||
// @Test | ||
// public void shouldCreateTopicEvenIfExistsInBrokers() { |
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 is the reason for commenting them out?
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 haven't rewritten them for the new solution yet because we don't have a framework developed for broker operations. Good point, I removed the commented tests
@@ -38,6 +38,18 @@ public TestSubscribersExtension() { | |||
}); | |||
} | |||
|
|||
public TestSubscribersExtension(int port) { | |||
service = new WireMockServer(port); |
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.
no-arg constructor body can now be changed to
public TestSubscribersExtension() {
this(0);
}
…mework_mszczygiel_part3 # Conflicts: # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/client/ManagementTestClient.java # integration-tests/src/common/java/pl/allegro/tech/hermes/integrationtests/setup/HermesInitHelper.java
No description provided.