Message ID | 56A1D734.8000709@codesourcery.com |
---|---|
State | New, archived |
Headers |
Received: (qmail 29661 invoked by alias); 22 Jan 2016 07:16:10 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 29627 invoked by uid 89); 22 Jan 2016 07:16:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FROM_12LTRDOM, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: relay1.mentorg.com To: <libc-alpha@sourceware.org> From: Chung-Lin Tang <cltang@codesourcery.com> Subject: [patch] Increase timeout in nss/bug17079.c test Message-ID: <56A1D734.8000709@codesourcery.com> Date: Fri, 22 Jan 2016 16:16:04 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090107060202000707080505" |
Commit Message
Chung-Lin Tang
Jan. 22, 2016, 7:16 a.m. UTC
Hi, I would like to increase the timeout for the nss/bug17079.c test, as this one runs for quite some time on Nios II Linux. Ok to commit? Thanks, Chung-Lin * nss/bug17079.c (TIMEOUT): Define as 100.
Comments
On 22 Jan 2016 16:16, Chung-Lin Tang wrote: > Hi, I would like to increase the timeout for the nss/bug17079.c test, > as this one runs for quite some time on Nios II Linux. > Ok to commit? how long did it actually take to run ? 100 seems like "just a big number that we didn't hit" vs "the test took 90 seconds on my platform". -mike
On 2016/1/23 4:56 AM, Mike Frysinger wrote: > On 22 Jan 2016 16:16, Chung-Lin Tang wrote: >> Hi, I would like to increase the timeout for the nss/bug17079.c test, >> as this one runs for quite some time on Nios II Linux. >> Ok to commit? > > how long did it actually take to run ? 100 seems like "just a big number > that we didn't hit" vs "the test took 90 seconds on my platform". > -mike > It takes around 77~80 seconds on the nios2 board we have, so I rounded up and took 100. It was a number from a measured experiment, not a blind guess. Chung-Lin
On 24 Jan 2016 16:41, Chung-Lin Tang wrote: > On 2016/1/23 4:56 AM, Mike Frysinger wrote: > > On 22 Jan 2016 16:16, Chung-Lin Tang wrote: > >> Hi, I would like to increase the timeout for the nss/bug17079.c test, > >> as this one runs for quite some time on Nios II Linux. > >> Ok to commit? > > > > how long did it actually take to run ? 100 seems like "just a big number > > that we didn't hit" vs "the test took 90 seconds on my platform". > > It takes around 77~80 seconds on the nios2 board we have, so I rounded up > and took 100. It was a number from a measured experiment, not a blind guess. mostly just curious. patch is fine. thanks ! -mike
On 01/22/2016 02:16 AM, Chung-Lin Tang wrote: > Hi, I would like to increase the timeout for the nss/bug17079.c test, > as this one runs for quite some time on Nios II Linux. > Ok to commit? > > Thanks, > Chung-Lin > > * nss/bug17079.c (TIMEOUT): Define as 100. > > > bug17079.c.diff > > > diff --git a/nss/bug17079.c b/nss/bug17079.c > index 367daae..3f9ec54 100644 > --- a/nss/bug17079.c > +++ b/nss/bug17079.c > @@ -240,5 +240,6 @@ do_test (void) > return 0; > } > > +#define TIMEOUT 100 > #define TEST_FUNCTION do_test () > #include "../test-skeleton.c" Patch is OK if you add a comment to the likes of: /* Nios II Linux targets routinely take 77~80 seconds to complete this test. */ I assume you are able to push this yourself? Cheers, Carlos.
On Thu, 11 Feb 2016, Carlos O'Donell wrote: > Patch is OK if you add a comment to the likes of: > > /* Nios II Linux targets routinely take 77~80 seconds > to complete this test. */ But I doubt this issue is anything to do with Nios II; referencing it there is just silly. I think it's the combination of slow processor with large user database (and the time depends on both user database size and processor speed).
diff --git a/nss/bug17079.c b/nss/bug17079.c index 367daae..3f9ec54 100644 --- a/nss/bug17079.c +++ b/nss/bug17079.c @@ -240,5 +240,6 @@ do_test (void) return 0; } +#define TIMEOUT 100 #define TEST_FUNCTION do_test () #include "../test-skeleton.c"