KAFKA-14863: Fix failing tests for invalid plugins that are no longer visible (#13805)

Reviewers: Chris Egerton <chrise@aiven.io>
This commit is contained in:
Greg Harris 2023-06-03 09:55:20 -07:00 committed by GitHub
parent 146a6976ae
commit 6678f1b66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public class TestPlugins {
/**
* A plugin which will always throw an exception during loading
*/
ALWAYS_THROW_EXCEPTION("always-throw-exception", "test.plugins.AlwaysThrowException"),
ALWAYS_THROW_EXCEPTION("always-throw-exception", "test.plugins.AlwaysThrowException", false),
/**
* A plugin which samples information about its initialization.
*/

View File

@ -133,7 +133,7 @@ public class ConnectorPluginsResourceTest {
HEADER_CONVERTER_PLUGINS.add(new MockConnectorPluginDesc<>(LongConverter.class));
TRANSFORMATION_PLUGINS.add(new MockConnectorPluginDesc<>(RegexRouter.class));
TRANSFORMATION_PLUGINS.add(new MockConnectorPluginDesc<>(TimestampConverter.class));
TRANSFORMATION_PLUGINS.add(new MockConnectorPluginDesc<>(TimestampConverter.Key.class));
PREDICATE_PLUGINS.add(new MockConnectorPluginDesc<>(HasHeaderKey.class));
PREDICATE_PLUGINS.add(new MockConnectorPluginDesc<>(RecordIsTombstone.class));