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 SecurityST#testCertificates #10830

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

im-konge
Copy link
Member

Type of change

  • Test removal

Description

The SecurityST#testCertificates test, which uses OpenSSL client inside, is sensitive to every minor upgrade of the OpenSSL client during our image build. That means during every build of the images, there can be a newer version of the client, causing the test to fail.

In the recent months we had few PRs that fixed the issues, however, it seems to be failing again.
After offline discussion with others, we decided to remove this test, as it really adds a small (or no) value.
The reason is that the certificates (and their functioning) are tested in all other different test -> this one just checks the connection to Kafka/ZK using the generated certificates, and then checks that the response from the OpenSSL client contains correct certificate subjects and SANs -> which can be tested on different levels (UT/IT).

Checklist

  • Make sure all tests pass

Signed-off-by: Lukas Kral <lukywill16@gmail.com>
@im-konge im-konge requested review from scholzj and a team November 13, 2024 22:17
@im-konge im-konge self-assigned this Nov 13, 2024
@im-konge im-konge added this to the 0.45.0 milestone Nov 13, 2024
@scholzj
Copy link
Member

scholzj commented Nov 14, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@im-konge im-konge merged commit 686bbed into strimzi:main Nov 14, 2024
21 checks passed
@im-konge im-konge deleted the remove-test-certificates branch November 14, 2024 15:09
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.

6 participants