h2database / h2database/h2database

Failure in TestCacheLongKeyLIRS

Open
#3,318 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.6k
Forks
1.3k
Avg merge
1d 2h
Merged PRs (30d)
9

Description

An unusual failure on CI:

java.lang.AssertionError: i: 18
at org.h2.test.TestBase.fail(TestBase.java:332)
at org.h2.test.TestBase.assertNotNull(TestBase.java:876)
at org.h2.test.store.TestCacheLongKeyLIRS.testScanResistance(TestCacheLongKeyLIRS.java:401)
at org.h2.test.store.TestCacheLongKeyLIRS.testCache(TestCacheLongKeyLIRS.java:45)
at org.h2.test.store.TestCacheLongKeyLIRS.test(TestCacheLongKeyLIRS.java:32)

https://github.com/h2database/h2database/blob/45b609dec0e45125e6a93f85c9018d34551332a1/h2/src/test/org/h2/test/store/TestCacheLongKeyLIRS.java#L397-L405

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running TestCacheLongKeyLIRS and inspect testScanResistance around line 401, using the reported stack trace to follow the failing assertion. Reproduce the CI failure and determine what makes the assertion fail at i: 18; done means the test passes reliably without weakening its checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.