prudhvigodithi commented on code in PR #15468:
URL: https://github.com/apache/lucene/pull/15468#discussion_r2600103411


##########
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:
##########
@@ -350,6 +350,20 @@ public abstract class LuceneTestCase extends Assert {
     String[] value();
   }
 
+  /**
+   * Annotation for test classes that should avoid specific asserting formats 
within the Asserting
+   * codec (e.g., AssertingStoredFieldsFormat) while keeping other asserting 
formats active.
+   *
+   * <p>Use the simple class name of the format to suppress, e.g., 
"AssertingStoredFieldsFormat".
+   */
+  @Documented
+  @Inherited
+  @Retention(RetentionPolicy.RUNTIME)
+  @Target(ElementType.TYPE)
+  public @interface SuppressAssertingFormats {
+    String[] value();

Review Comment:
   Just updated the code, yes we can have an array as well 
`@SuppressAssertingFormats({AssertingCodec.Format.STORED_FIELDS, 
AssertingCodec.Format.TERM_VECTORS})`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to