Skip to content

KAFKA-9188; Fix flaky test SslAdminClientIntegrationTest.testSynchronousAuthorizerAclUpdatesBlockRequestThreads - #7918

Merged
rajinisivaram merged 1 commit into
apache:trunkfrom
rajinisivaram:KAFKA-9188-authorizer-test
Jan 10, 2020
Merged

KAFKA-9188; Fix flaky test SslAdminClientIntegrationTest.testSynchronousAuthorizerAclUpdatesBlockRequestThreads#7918
rajinisivaram merged 1 commit into
apache:trunkfrom
rajinisivaram:KAFKA-9188-authorizer-test

Conversation

@rajinisivaram

Copy link
Copy Markdown
Contributor

From the build failures in the JIRA, it looks like the test occasionally hits request timeout when running from Jenkins (I was able to recreate only with much smaller request timeouts). Since the test blocks requests threads while sending the ACL update requests, updated the test to tolerate timeouts and retry the request for that case. Added an additional check to verify that the requests threads are unblocked when the semaphore is released, ensuring that the timeout is not due to blocked threads.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@rajinisivaram
rajinisivaram requested a review from omkreddy January 9, 2020 15:59

@omkreddy omkreddy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@rajinisivaram Thanks for the PR. LGTM.

@rajinisivaram

Copy link
Copy Markdown
Contributor Author

@omkreddy Thanks for the review. Test failures not related, merging to trunk.

@rajinisivaram
rajinisivaram merged commit 700a931 into apache:trunk Jan 10, 2020
gitlw pushed a commit to linkedin/kafka that referenced this pull request Jun 18, 2020
…ntegrationTest.testSynchronousAuthorizerAclUpdatesBlockRequestThreads (apache#7918)

The test blocks requests threads while sending the ACL update requests and occasionally hits request timeout. Updated the test to tolerate timeouts and retry the request for that case. Added an additional check to verify that the requests threads are unblocked when the semaphore is released, ensuring that the timeout is not due to blocked threads.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants