Skip to content
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

Conversation

szczygiel-m
Copy link
Contributor

No description provided.

…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
@szczygiel-m szczygiel-m marked this pull request as ready for review December 14, 2023 10:50
…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
@moscicky moscicky self-assigned this Dec 14, 2023

//TODO Fix this test later

// @Test
Copy link
Collaborator

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() {
Copy link
Collaborator

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?

Copy link
Contributor Author

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);
Copy link
Collaborator

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
@szczygiel-m szczygiel-m merged commit 9733a27 into integration_tests_framework Dec 18, 2023
7 checks passed
@szczygiel-m szczygiel-m deleted the integration_tests_framework_mszczygiel_part3 branch December 18, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants