git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t1404: increase core.packedRefsTimeout to avoid occasional test failure

From
SZEDER Gábor <szeder.dev@gmail.com>
Date
Aug 1, 2018, 01:37 UTC
Message-ID
<CAM0VKj=aQ1kO_i2OkkcMRJZ0a8PHVQH-oKQ1_qZ5UpxEPEK5kQ@mail.gmail.com>
In-Reply-To
<20180731233906.GB113554@aiede.svl.corp.google.com>
On Wed, Aug 1, 2018 at 1:39 AM Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 9 quoted lines
> SZEDER Gábor wrote:
>
> > While 3secs timeout seems plenty, and indeed is sufficient in most
> > cases, on rare occasions it's just not quite enough: I saw this test
> > fail in Travis CI build jobs two, maybe three times because 'git
> > update-ref' timed out.
>
> I suspect these tests will fail with valgrind (just because valgrind
> makes things super slow).  Would it be safe to use timeout=-1?

I don't know. Travis CI has a time limit of about 45mins for the whole build job (including installing dependencies and compilation), and any sensible automated build system must have a similar time limit, so it would be fine to wait indefinitely in such an environment, though in case of a timeout we'd lose failure reports of failed tests, if there are any.

OTOH, my (and I guess most devs') test runs don't have such a time limit, so I'm reluctant to change it to wait indefinitely. But then again, waiting indefinitely for a lock file is not all that different from messing up something and creating an endless loop or a deadlock...

Previous: Jonathan Nieder
Message 3 of 3 in “t1404: increase core.packedRefsTimeout to avoid occasional test failure”
  1. t1404: increase core.packedRefsTimeout to avoid occasional test failureSZEDER Gábor, Jul 31, 2018
  2. Jonathan NiederJul 31, 2018
  3. SZEDER GáborAug 1, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.