prudhvigodithi commented on code in PR #15490:
URL: https://github.com/apache/lucene/pull/15490#discussion_r2604139662
##########
lucene/test-framework/src/java/org/apache/lucene/tests/codecs/asserting/AssertingCodec.java:
##########
@@ -81,6 +102,24 @@ public KnnVectorsFormat getKnnVectorsFormatForField(String
field) {
public AssertingCodec() {
super("Asserting", TestUtil.getDefaultCodec());
+
+ var suppressedFormats = EnumSet.noneOf(AssertingCodec.Format.class);
+ Class<?> targetClass;
+ try {
+ targetClass = RandomizedContext.current().getTargetClass();
Review Comment:
I see the key change here `RandomizedContext.current().getTargetClass()`.
Nice I have tested on my local and LGTM.
--
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]