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

[JGIT] Re: blinking test WindowCacheGetTest.testCache_TooSmallLimit

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 24, 2009, 22:51 UTC
Message-ID
<20090724225118.GZ11191@spearce.org>
In-Reply-To
<85647ef50907220623i2b7e50dal67650a638921ec0f@mail.gmail.com>
Constantine Plotnikov <constantine.plotnikov@gmail.com> wrote:
Show 12 quoted lines
> The test WindowCacheGetTest.testCache_TooSmallLimit sometimes fails
> (on less than third of runs on Windows) with the following stacktrace:
> 
> junit.framework.AssertionFailedError
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertTrue(Assert.java:27)
> at org.spearce.jgit.lib.WindowCacheGetTest.checkLimits(WindowCacheGetTest.java:112)
> at org.spearce.jgit.lib.WindowCacheGetTest.testCache_TooSmallLimit(WindowCacheGetTest.java:106)
> 
> This happens on Windows and Linux, but I do not know about
> frequency on Linux.

I'd say the frequency on Linux is about 1/6 for me. I have yet to be bothered enough to track it down, but its starting to get there. Maybe I'll try to look at it tomorrow.

-- 
Shawn.
Next: Robin Rosenberg
Message 1 of 6 in “[JGIT] Re: blinking test WindowCacheGetTest.testCache_TooSmallLimit”
  1. Shawn O. PearceJul 24, 2009
  2. Robin RosenbergJul 25, 2009
  3. Shawn O. PearceJul 25, 2009
  4. Fix WindowCacheGetTest.testCache_TooSmallLimit failuresShawn O. Pearce, Jul 25, 2009
  5. Robin RosenbergJul 25, 2009
  6. Shawn O. PearceJul 25, 2009

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.