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

Intermittent failure of t1700-split-index.sh

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Jan 27, 2017, 02:45 UTC
Message-ID
<818851a6-c3ef-618e-4146-518fbe6bd837@ramsayjones.plus.com>
Hi Christian,

I noticed the intermittent failure of t1700-split-index.sh (tests #17 and #18) yesterday. It failed in a full test-suite run, but would not fail when run by hand, until I ran it like so:

    $ cd t
    $ for i in `seq 100`; do
    > echo "== $i =="
    > ./t1700-split-index.sh -i -v || break
    > done
... when it failed on the 82nd run!

I only had a brief look in the trash directory, but I could see that the 'twelve' file did not exist, 'eleven' did exist and was in the index (well, git ls-files showed it), and that there were only two '.git/sharedindex.*' files and that their timestamps had not been changed.

I can't devote any time to looking at this further tonight (it's 2-45am here, I'm off to bed!). Can you reproduce the problem, or is it just me? :)

ATB, Ramsay Jones

Next: Jeff King
Message 1 of 3 in “Intermittent failure of t1700-split-index.sh”
  1. Ramsay JonesJan 27, 2017
  2. Jeff KingJan 27, 2017
  3. Christian CouderJan 27, 2017

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.