Skip to content

Conversation

@prudhvigodithi
Copy link
Contributor

Description

This PR introduces a new @SuppressAssertingFormats annotation that allows test classes to
suppress specific asserting formats within the AssertingCodec while keeping other asserting
formats active.

Currently, @SuppressCodecs("Asserting") disables the entire AssertingCodec, losing all
assertion checks. However, some tests have legitimate use cases to just suppress specific AssertingFormats and continue with AssertingCodec.

Now With this we can use as @LuceneTestCase.SuppressAssertingFormats("AssertingStoredFieldsFormat") rather than @SuppressCodecs("Asserting")

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi prudhvigodithi changed the title Add @SuppressAssertingFormats annotation for fine-grained control over AssertingCodec formats Add @SuppressAssertingFormats annotation for fine-grained control over AssertingCodec formats Dec 3, 2025
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@github-actions github-actions bot added this to the 10.4.0 milestone Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant