Skip to content

[BUG] VerifyVersionConstantsIT is unreliable #12407

@peternied

Description

@peternied

Describe the bug

testLuceneVersionConstant did not detect that when the Lucene version was updated [1] the test was broken

java.lang.AssertionError: 
Expected: <9.10.0>
     but: was <9.9.2>

Related component

Build

To Reproduce

  1. Update the lucene version
  2. Merge change into main
  3. Run the test org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant

Expected behavior

Test should fail when the version is upgraded, should pass all other times.

Additional Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    :testAdding or fixing a test>test-failureTest failure from CI, local build, etc.BuildBuild Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.bugSomething isn't workinglucene

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions