Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B748E200D59 for ; Sun, 10 Dec 2017 23:51:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B5B61160C09; Sun, 10 Dec 2017 22:51:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0723F160BF2 for ; Sun, 10 Dec 2017 23:51:07 +0100 (CET) Received: (qmail 94806 invoked by uid 500); 10 Dec 2017 22:51:07 -0000 Mailing-List: contact dev-help@edgent.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@edgent.apache.org Delivered-To: mailing list dev@edgent.apache.org Received: (qmail 94795 invoked by uid 99); 10 Dec 2017 22:51:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Dec 2017 22:51:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C91D1C3EEB for ; Sun, 10 Dec 2017 22:51:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xejkyh5tmmzy for ; Sun, 10 Dec 2017 22:51:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 827B05F2EE for ; Sun, 10 Dec 2017 22:51:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A67A7E015F for ; Sun, 10 Dec 2017 22:51:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 28301212F5 for ; Sun, 10 Dec 2017 22:51:01 +0000 (UTC) Date: Sun, 10 Dec 2017 22:51:00 +0000 (UTC) From: "Dale LaBossiere (JIRA)" To: dev@edgent.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (EDGENT-441) Adjust Kafka tests to tolerate slow consumer startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 10 Dec 2017 22:51:08 -0000 [ https://issues.apache.org/jira/browse/EDGENT-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dale LaBossiere reassigned EDGENT-441: -------------------------------------- Assignee: Dale LaBossiere > 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 > Assignee: 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)