Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A27B1823D for ; Fri, 24 Jul 2015 18:45:14 +0000 (UTC) Received: (qmail 13995 invoked by uid 500); 24 Jul 2015 18:45:09 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 13969 invoked by uid 500); 24 Jul 2015 18:45:09 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 13959 invoked by uid 99); 24 Jul 2015 18:45:09 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2015 18:45:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 96EFEC0252 for ; Fri, 24 Jul 2015 18:45:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.77 X-Spam-Level: * X-Spam-Status: No, score=1.77 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id DdsLz8xWVBAB for ; Fri, 24 Jul 2015 18:45:07 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id C0DD7334E7 for ; Fri, 24 Jul 2015 18:45:06 +0000 (UTC) Received: (qmail 13402 invoked by uid 99); 24 Jul 2015 18:45:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2015 18:45:05 +0000 Date: Fri, 24 Jul 2015 18:45:05 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-156) unit tests that call pauseIfNecessary will intermittently fail 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/GEODE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640904#comment-14640904 ] ASF subversion and git services commented on GEODE-156: ------------------------------------------------------- Commit cd232e1a12103466dd578d2d7442fed6eed70a13 in incubator-geode's branch refs/heads/feature/GEODE-156 from [~dschneider] [ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=cd232e1 ] GEODE-156: fix unit tests that call pauseIfNecessary all calls to pauseIfNecessary have been changed to flushIfNecessary. The new flushIfNecessary method uses StateFlushOperation. > unit tests that call pauseIfNecessary will intermittently fail > -------------------------------------------------------------- > > Key: GEODE-156 > URL: https://issues.apache.org/jira/browse/GEODE-156 > Project: Geode > Issue Type: Bug > Reporter: Darrel Schneider > Assignee: Darrel Schneider > Priority: Minor > > Many of the unit tests in MultiVMRegionTestCase call pauseIfNecessary. > They do this to allow previous operations done on a no-ack region to complete. > But since the pause is simply a sleep it is possible for these tests to not sleep long enough and still fail. > They may also sleep longer than is needed. > We have a StateFlushOperation that can be used by the sender to wait until all the no-ack ops it did on a particular region have completed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)