You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2017/12/10 17:50:00 UTC
[jira] [Created] (EDGENT-441) Adjust Kafka tests to tolerate slow
consumer startup
Dale LaBossiere created EDGENT-441:
--------------------------------------
Summary: Adjust Kafka tests to tolerate slow consumer startup
Key: EDGENT-441
URL: https://issues.apache.org/jira/browse/EDGENT-441
Project: Edgent
Issue Type: Test
Reporter: Dale LaBossiere
As part of validating 1.2.0 I ran samples/connectors/kafka.
Manually running of the kafka tests didn't initially succeed due to consumer startup being very slow (10sec?) this time on my Mac for some reason (running local zookeeper & kafka server).
Adjust both the test's PUB_DELAY_MSEC (15s) and SEC_TIMEOUT (40s) was required to make them pass.
I'm pretty sure this has nothing to do with the connector/Edgent (but will check more).
The tests should be changed so as to tolerate this sort of condition if possible e.g., instead of using a fixed initial delay for publishing, there should be some "gate" that blocks tuple publishing until the subscriber is connected.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)