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

[ST] Remove NodePort from the 'weird username tests' for Kafka Bridge #10384

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

im-konge
Copy link
Member

@im-konge im-konge commented Jul 25, 2024

Type of change

  • Enhancement

Description

In the past, there was no way how to write "weird username" tests with our internal clients, as they used the Kafka scripts for the producer/consumer, which had limitation in the length of the user name - which is the main part of this test -> testing that everything works with some special characters and longer names. In the external clients (which are just our implementation of the Java Kafka clients) there is not such limitation -> that's why we used them. But after the creation of test-clients, there is not such limitation as well. So in the tests it is not needed to keep the external clients.

This PR removes the NodePort from the "weird username tests" for the Kafka Bridge. Together with that, I'm moving the tests into the HttpBridgeTls class, because the "external listener" is not a thing after the changes, so the extra class is not needed.

Fixes #7608

Checklist

  • Make sure all tests pass

Signed-off-by: Lukas Kral <lukywill16@gmail.com>
@im-konge im-konge self-assigned this Jul 25, 2024
@im-konge im-konge added this to the 0.43.0 milestone Jul 25, 2024
@im-konge im-konge requested a review from a team July 25, 2024 07:29
@im-konge
Copy link
Member Author

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@henryZrncik henryZrncik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me thanks for changes ! Just a little nit.

Signed-off-by: Lukas Kral <lukywill16@gmail.com>
@im-konge
Copy link
Member Author

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@im-konge im-konge merged commit 2772ec3 into strimzi:main Jul 25, 2024
21 checks passed
@im-konge im-konge deleted the test-weird-username branch July 25, 2024 19:11
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.

Remove un-necessary NodePorts from system test.
4 participants