Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-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 A27F2181A3 for ; Tue, 8 Dec 2015 23:39:11 +0000 (UTC) Received: (qmail 79353 invoked by uid 500); 8 Dec 2015 23:39:11 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 79224 invoked by uid 500); 8 Dec 2015 23:39:11 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 78917 invoked by uid 99); 8 Dec 2015 23:39:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2015 23:39:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EC4A62C14F6 for ; Tue, 8 Dec 2015 23:39:10 +0000 (UTC) Date: Tue, 8 Dec 2015 23:39:10 +0000 (UTC) From: "Neil Conway (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MESOS-4101) Consider running most/all tests with the clock paused MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Neil Conway created MESOS-4101: ---------------------------------- Summary: Consider running most/all tests with the clock paused Key: MESOS-4101 URL: https://issues.apache.org/jira/browse/MESOS-4101 Project: Mesos Issue Type: Improvement Components: test Reporter: Neil Conway Presently, some tests pause the clock before they do timing-sensitive operations, only calling explicitly {{Clock::advance()}} to help ensure that dependencies on the clock don't cause the test to be non-deterministic. (Using {{Clock::advance()}} is typically also faster than waiting for the equivalent amount of physical time to elapse.) However, most tests do not pause the clock, which contributes to the ongoing flakiness witnessed in many tests. We should investigate whether it is feasible to pause the clock in all/most tests (e.g., have the clock paused by default), and only enable the clock when the test cannot be implemented with {{Clock::advance()}}, {{Clock::settle()}}, and similar functions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)