Package com.linkedin.venice.annotation
Annotation Interface PubSubAgnosticTest
Marks a test class or method as PubSub agnostic.
Tests with this annotation do not rely on Kafka-specific or Xinfra/NG-specific behavior. They must pass against any PubSub system that implements the Venice PubSub APIs.
Developer note: If you annotate a test with this, you are asserting that it will run correctly on any supported PubSub backend. You must ensure it stays this way, otherwise you risk breaking CI pipelines that execute tests against multiple PubSub systems.
Typical usage:
@PubSubAgnosticTest
public class MyStoreTests { ... }
public class AnotherTest {
@Test
@PubSubAgnosticTest
public void validatesKeySerialization() { ... }
}
-
Optional Element Summary
Optional Elements
-
Element Details
-
notes
String[] notesOptional free-form notes for maintainers or the test runner. Example: "Does not use client-specific seek APIs."- Default:
- {}
-