From patchwork Tue Oct 9 14:19:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 29679 Received: (qmail 17305 invoked by alias); 9 Oct 2018 14:19:48 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 17214 invoked by uid 89); 9 Oct 2018 14:19:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=Increase, 20s, million, Hx-languages-length:709 X-HELO: EUR01-DB5-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IlffMYkMv1KWr0XZQjn0J0TPqzyI3jG2sGrkvRX2ro0=; b=k7W/pMqm1lBXI4pCtiicMegA2a7vnW17KpkHQY5Yz6WmF7EDoAnqbkB15Kmr8x9bfESe3sSzIutdm59ocrgBKOg50l4dpZ9p90KSE99Im+4hoDevAubDKC5XHZp/CJt0E+TSQYSEpzncQY93YmECArT/6cNRMAD4nzmxTpMKiqQ= From: Szabolcs Nagy To: GNU C Library CC: nd Subject: [PATCH] Increase timeout of libio/tst-readline Date: Tue, 9 Oct 2018 14:19:41 +0000 Message-ID: user-agent: Mozilla/5.0 (X11; Linux aarch64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) MIME-Version: 1.0 Increase timeout from the default 20s to 100s. This test makes close to 20 million syscalls with distribution: 12327675 read 4143204 lseek 929475 close 929471 openat 92817 fstat 1431 write ... The default timeout assumes each can finish in 1us on average which is not true on slow machines. 2018-10-09 Szabolcs Nagy * libio/tst-readline.c (TIMEOUT): Define. Reviewed-by: Carlos O'Donell diff --git a/libio/tst-readline.c b/libio/tst-readline.c index 9322ef68da..63f5227760 100644 --- a/libio/tst-readline.c +++ b/libio/tst-readline.c @@ -232,5 +232,6 @@ do_test (void) return 0; } +#define TIMEOUT 100 #define PREPARE prepare #include