Skip to content

Cyrus timeout#6638

Merged
rhauch merged 2 commits intoapache:1.0from
cyrusv:cyrus-timeout
Apr 26, 2019
Merged

Cyrus timeout#6638
rhauch merged 2 commits intoapache:1.0from
cyrusv:cyrus-timeout

Conversation

@cyrusv
Copy link
Contributor

@cyrusv cyrusv commented Apr 25, 2019

This PR applies to the 1.0 branch two commits that are already on the 1.1 branch and later branches.

These two together make it possible for for Connect tests to have more control on how long to wait for Connect worker services to finish loading.

Original PRs are:
#4423
#5882

kkonstantine and others added 2 commits April 25, 2019 15:34
…test class

Allow Connect Service in system tests to start asynchronously.

Specifically, allow for three startup conditions:
1. No condition - start async and return immediately.
2. Semi-async - start immediately after plugins have been discovered successfully.
3. Sync - start returns after the worker has completed startup. This is the current mode, but its condition is improved by checking that the port of Connect's REST interface is open, rather than that a log line has appeared in the logs.

An associated system test run has been started here:
https://jenkins.confluent.io/job/system-test-confluent-platform-branch-builder/586/

ewencp rhauch, I'd appreciate your review.

Author: Konstantine Karantasis <konstantine@confluent.io>

Reviewers: Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes apache#4423 from kkonstantine/MINOR-Add-async-and-different-sync-startup-modes-in-ConnectService-test-class
…init (apache#5882)

Currently, the startup timeout is hardcoded to be 60 seconds in Connect's test service. Modifying it to be passable via init. This can safely be backported as well.

Reviewers: Randall Hauch <rhauch@gmail.com>, Jason Gustafson <jason@confluent.io>
@rhauch
Copy link
Contributor

rhauch commented Apr 26, 2019

Build failures are unrelated to Connect. It also looks like a system test run passed with this branch.

@rhauch rhauch merged commit f763aa7 into apache:1.0 Apr 26, 2019
@cyrusv cyrusv deleted the cyrus-timeout branch April 26, 2019 19:56
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.

4 participants