Skip to content

MINOR: Simplify the timeout logic to handle protocol in Connect distributed system tests - #7806

Merged
rhauch merged 1 commit into
apache:trunkfrom
rhauch:minor-simplify-connect-pause-state-timeout
Dec 10, 2019
Merged

MINOR: Simplify the timeout logic to handle protocol in Connect distributed system tests#7806
rhauch merged 1 commit into
apache:trunkfrom
rhauch:minor-simplify-connect-pause-state-timeout

Conversation

@rhauch

@rhauch rhauch commented Dec 9, 2019

Copy link
Copy Markdown
Contributor

Hopefully fixes a very flaky system test for sessioned protocol. The previous code checked explicitly for compatible and did not work with the latest sessioned protocol, and since this was to set the timeout it's simply easier to always set it for the longer time.

Should be backported to 2.4 and 2.3.

Increasing the timeout (see #7789) was not sufficient.

Committer Checklist (excluded from commit message)

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

@rhauch

rhauch commented Dec 9, 2019

Copy link
Copy Markdown
Contributor Author

Run of Connect system tests with this branch: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/3627/

@rhauch

rhauch commented Dec 9, 2019

Copy link
Copy Markdown
Contributor Author

@kkonstantine kkonstantine 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.

Thanks @rhauch
This PR reflects the direction of the comment I wanted to leave in the previous PR but I didn't get to it soon enough. That if there's no significant difference between the two timeouts (like 4x as it used to be), let's unify them across Connect protocols.

Thus, LGTM!

@vvcephei vvcephei 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.

Nice cleanup. Thanks @rhauch !

@rhauch
rhauch merged commit 39d68de into apache:trunk Dec 10, 2019
rhauch added a commit that referenced this pull request Dec 10, 2019
rhauch added a commit that referenced this pull request Dec 10, 2019
qq619618919 pushed a commit to qq619618919/kafka that referenced this pull request May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants