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 un-necessary check inside testKafkaConnectAndConnectorStatus #9673

Merged
merged 2 commits into from Feb 11, 2024

Conversation

see-quick
Copy link
Member

@see-quick see-quick commented Feb 10, 2024

Type of change

  • Bugfix
  • Refactoring

Description

This PR removes unnecessary checks to the testKafkaConnectAndConnectorStatus test case, causing many failures. We could resolve such a problem by changing a FileSource connector file config (i.e., /opt/kafka/LICENSE) and changing it to some /tmp/test-file.txt and then update it to always have it involved. Currently in the second stage of the test when we do not update the file /opt/kafka/LICENSE the KafkaConnect API will not append a topic inside .status of the KafkaConnnector CR because it does not have any records or it is not active (no new data comes because the file is still the same). But such a solution seems to be an overkill and we would rather remove these checks.

Checklist

  • Make sure all tests pass

Signed-off-by: see-quick <maros.orsak159@gmail.com>
Signed-off-by: see-quick <maros.orsak159@gmail.com>
@see-quick see-quick self-assigned this Feb 10, 2024
@see-quick see-quick added this to the 0.40.0 milestone Feb 10, 2024
@see-quick see-quick requested a review from a team February 10, 2024 22:17
@see-quick
Copy link
Member Author

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@see-quick see-quick added the ready for merge Label for PRs which are ready for merge label Feb 11, 2024
@see-quick see-quick merged commit 7f1600e into strimzi:main Feb 11, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for merge Label for PRs which are ready for merge System tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants