From issues-return-592-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Aug 5 09:52:07 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E9634180675 for ; Mon, 5 Aug 2019 11:52:06 +0200 (CEST) Received: (qmail 64388 invoked by uid 500); 5 Aug 2019 09:52:04 -0000 Mailing-List: contact issues-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list issues@zookeeper.apache.org Received: (qmail 64332 invoked by uid 99); 5 Aug 2019 09:52:04 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2019 09:52:04 +0000 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 8BC83E2CB6 for ; Mon, 5 Aug 2019 09:52:00 +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 4CADB241A1 for ; Mon, 5 Aug 2019 09:52:00 +0000 (UTC) Date: Mon, 5 Aug 2019 09:52:00 +0000 (UTC) From: "Szalay-Beko Mate (JIRA)" To: issues@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (ZOOKEEPER-3470) Flaky test: LearnerMetricsTest.testLearnerMetricsTest() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szalay-Beko Mate reassigned ZOOKEEPER-3470: ------------------------------------------- Assignee: Szalay-Beko Mate > Flaky test: LearnerMetricsTest.testLearnerMetricsTest() > ------------------------------------------------------- > > Key: ZOOKEEPER-3470 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3470 > Project: ZooKeeper > Issue Type: Sub-task > Components: tests > Affects Versions: 3.6.0 > Reporter: Andor Molnar > Assignee: Szalay-Beko Mate > Priority: Major > Labels: flaky, flaky-test, newbie, pull-request-available, test > Time Spent: 1h > Remaining Estimate: 0h > > Hi team, > New test testLearnerMetricsTest() added by the following commit failed 2 times on master with the same error: > junit.framework.AssertionFailedError: expected:<10> but was:<9> > at org.apache.zookeeper.server.quorum.LearnerMetricsTest.testLearnerMetricsTest(LearnerMetricsTest.java:88) > at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80) > [https://github.com/apache/zookeeper/pull/856] > Submitted by: jhuan31 > Maybe we should just blame the Thread.sleep(200) in line:77 and replace it with some clever logic. > Please take a look. > Regards, > Andor -- This message was sent by Atlassian JIRA (v7.6.14#76016)