From issues-return-1305-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Sep 11 12:31:03 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 1DBC218063F for ; Wed, 11 Sep 2019 14:31:03 +0200 (CEST) Received: (qmail 32106 invoked by uid 500); 11 Sep 2019 12:31:02 -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 32097 invoked by uid 99); 11 Sep 2019 12:31:02 -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; Wed, 11 Sep 2019 12:31:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B8245E3155 for ; Wed, 11 Sep 2019 12:31:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 73D74780888 for ; Wed, 11 Sep 2019 12:31:00 +0000 (UTC) Date: Wed, 11 Sep 2019 12:31:00 +0000 (UTC) From: "Andor Molnar (Jira)" To: issues@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (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 ] Andor Molnar reopened ZOOKEEPER-3470: ------------------------------------- Unfortunately this is still flaky on Zookeeper-trunk: [https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper-trunk/690/] > 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: Mate Szalay-Beko > Priority: Major > Labels: flaky, flaky-test, newbie, pull-request-available, test > Fix For: 3.6.0 > > Time Spent: 3h 10m > 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 (v8.3.2#803003)