Skip to content

KAFKA-14283; Fix connector creation Auth tests not correctly testing#12721

Merged
C0urante merged 1 commit intoapache:trunkfrom
mdedetrich:fix-test-create-connector-auth-not-doing-anything
Oct 7, 2022
Merged

KAFKA-14283; Fix connector creation Auth tests not correctly testing#12721
C0urante merged 1 commit intoapache:trunkfrom
mdedetrich:fix-test-create-connector-auth-not-doing-anything

Conversation

@mdedetrich
Copy link
Copy Markdown
Contributor

Currently the testCreateConnectorWithoutHeaderAuthorization and testCreateConnectorWithHeaderAuthorization tests within ConnectorsResourceTest aren't actually anything. This is because in reality the requests should be forwarded to a leader and tests aren't actually testing that a leader RestClient request is made.

Currently the testCreateConnectorWithoutHeaderAuthorization and testCreateConnectorWithHeaderAuthorization tests within ConnectorsResourceTest aren't actually anything. This is because in reality the requests should be forwarded to a leader and tests aren't actually testing that a leader RestClient request is made.
@mdedetrich
Copy link
Copy Markdown
Contributor Author

@C0urante

Copy link
Copy Markdown
Contributor

@vamossagar12 vamossagar12 left a comment

Choose a reason for hiding this comment

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

@mdedetrich , Thanks for the changes. It looks fine to me.

Copy link
Copy Markdown
Contributor

@C0urante C0urante left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing this 👍

@C0urante C0urante merged commit de05665 into apache:trunk Oct 7, 2022
@C0urante C0urante added connect tests Test fixes (including flaky tests) labels Oct 7, 2022
@mdedetrich mdedetrich deleted the fix-test-create-connector-auth-not-doing-anything branch October 7, 2022 14:19
guozhangwang pushed a commit to guozhangwang/kafka that referenced this pull request Jan 25, 2023
Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Chris Egerton <chrise@aiven.io>
rutvijmehta-harness pushed a commit to rutvijmehta-harness/kafka that referenced this pull request Feb 9, 2024
Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Chris Egerton <chrise@aiven.io>
rutvijmehta-harness added a commit to rutvijmehta-harness/kafka that referenced this pull request Feb 9, 2024
Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Chris Egerton <chrise@aiven.io>

Co-authored-by: Matthew de Detrich <matthew.dedetrich@aiven.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connect tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants