From patchwork Mon Feb 29 17:49:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 63234 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1385245lbc; Mon, 29 Feb 2016 09:49:34 -0800 (PST) X-Received: by 10.55.52.211 with SMTP id b202mr21150167qka.27.1456768174538; Mon, 29 Feb 2016 09:49:34 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j8si26793067qge.87.2016.02.29.09.49.34; Mon, 29 Feb 2016 09:49:34 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id DB3C461944; Mon, 29 Feb 2016 17:49:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E72C26185D; Mon, 29 Feb 2016 17:49:29 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 143936185E; Mon, 29 Feb 2016 17:49:28 +0000 (UTC) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by lists.linaro.org (Postfix) with ESMTPS id EFD9B6184D for ; Mon, 29 Feb 2016 17:49:26 +0000 (UTC) Received: by mail-lf0-f42.google.com with SMTP id v124so3554384lff.0 for ; Mon, 29 Feb 2016 09:49:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/J5L/jD2A3UPUabkOSOWCb4EAgFZObv3c/XQ6U4Memo=; b=IfYsRzTpBxJtbc0u20gC3hScadXbukD9P15pGUMX7vNWvHkI66wnF8YpKUhxmKndAv ljNCI1Rk+vWVHk11vYQTufpjPlxLW23sdVvA1iE/XA5GWTFjD4kFIhDI285YG1Z0kLM0 BcZWAHhjJQhxIPywruJsn5GzvHB7K/bVyvjKLqZniK2NC+aYi/eM9TR31qHgZJVQIktt H5QrrnEAig5RKw+dmoGTfZb+qucoyAWcjFkN9iYSTPqgAK+LK5QTznk0POiTeAslG0zB 51hvCJa1oOBbTE3pwX1TOnIqKT0G0fSitqYVKoHIFfwc+BOkbTbvIYsB7X2eLaYEDoid edVw== X-Gm-Message-State: AD7BkJKBSAcnxd9ficeoSKz0xZvIbQ0Q6h2iTxXTrJzHG6pDQfGyJxmy2emumJJYQyECxX0XW4g= X-Received: by 10.25.86.195 with SMTP id k186mr6023159lfb.155.1456768165948; Mon, 29 Feb 2016 09:49:25 -0800 (PST) Received: from localhost.localdomain ([212.90.63.58]) by smtp.gmail.com with ESMTPSA id t12sm4130449lfe.46.2016.02.29.09.49.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 09:49:25 -0800 (PST) From: Ivan Khoronzhuk To: lng-odp@lists.linaro.org, zoltan.kiss@linaro.org Date: Mon, 29 Feb 2016 19:49:04 +0200 Message-Id: <1456768144-18699-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] validation: scheduler: increase delay tolerance X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" For some systems sensitive to time deviation, would be better to have some time backup while testing scheduler time, so increase it to 3 jiffies. https://bugs.linaro.org/show_bug.cgi?id=2076 Signed-off-by: Ivan Khoronzhuk Reviewed-by: Bill Fischofer --- test/validation/scheduler/scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/scheduler/scheduler.c b/test/validation/scheduler/scheduler.c index dcf01c0..cb04209 100644 --- a/test/validation/scheduler/scheduler.c +++ b/test/validation/scheduler/scheduler.c @@ -48,7 +48,7 @@ #define CHAOS_NDX_TO_PTR(n) ((void *)(uintptr_t)n) #define CHAOS_WAIT_FAIL (5 * ODP_TIME_SEC_IN_NS) -#define ODP_WAIT_TOLERANCE (20 * ODP_TIME_MSEC_IN_NS) +#define ODP_WAIT_TOLERANCE (60 * ODP_TIME_MSEC_IN_NS) /* Test global variables */ typedef struct {