Return-Path: X-Original-To: apmail-aurora-reviews-archive@minotaur.apache.org Delivered-To: apmail-aurora-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A605117C7 for ; Wed, 6 Aug 2014 16:12:18 +0000 (UTC) Received: (qmail 60259 invoked by uid 500); 6 Aug 2014 16:12:17 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 60218 invoked by uid 500); 6 Aug 2014 16:12:17 -0000 Mailing-List: contact reviews-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.incubator.apache.org Delivered-To: mailing list reviews@aurora.incubator.apache.org Received: (qmail 60207 invoked by uid 99); 6 Aug 2014 16:12:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 16:12:17 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 06 Aug 2014 16:12:16 +0000 Received: (qmail 58904 invoked by uid 99); 6 Aug 2014 16:11:55 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 16:11:55 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 4ACCC1D9E0F; Wed, 6 Aug 2014 16:11:41 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1705815670069716164==" MIME-Version: 1.0 Subject: Re: Review Request 24359: Fix announcer and scheduler_client tests. From: "Brian Wickman" To: "Bill Farner" Cc: "Aurora" , "Brian Wickman" Date: Wed, 06 Aug 2014 16:11:41 -0000 Message-ID: <20140806161141.1586.11783@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Brian Wickman" X-ReviewGroup: Aurora X-ReviewRequest-URL: https://reviews.apache.org/r/24359/ X-Sender: "Brian Wickman" References: <20140806011402.1587.78248@reviews.apache.org> In-Reply-To: <20140806011402.1587.78248@reviews.apache.org> Reply-To: "Brian Wickman" X-ReviewRequest-Repository: aurora X-Virus-Checked: Checked by ClamAV on apache.org --===============1705815670069716164== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24359/ ----------------------------------------------------------- (Updated Aug. 6, 2014, 4:11 p.m.) Review request for Aurora and Bill Farner. Changes ------- Posting master merge before submitting. Bugs: AURORA-638 https://issues.apache.org/jira/browse/AURORA-638 Repository: aurora Description ------- Fix tests. Diffs (updated) ----- src/test/python/apache/aurora/executor/common/test_announcer.py e5c4ce4cd0edf0666c5546b734b39121ce93a45c Diff: https://reviews.apache.org/r/24359/diff/ Testing ------- Currently running ./pants src/test/python:all -v The announcer test does not fail on my laptop. But I predict what was happening is that since I was just doing 2 clock.tick(1.0)s with the ThreadedClock and the other end was doing a clock.sleep(2.0), there were no guarantees that code was getting executed unless I did a subsequent clock.tick(epsilon). I've instead just done clock.tick(> 2) to guarantee that code executes. Thanks, Brian Wickman --===============1705815670069716164==--