public abstract class ConnectorTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
KAFKA |
static String |
KAFKA_CONNECT_S2I |
static String |
KAFKA_CONNECT_S2I_LOGGING |
protected static Properties |
KAFKA_CONSUMER_PROPS |
protected static io.debezium.testing.openshift.tools.kafka.KafkaConnectController |
kafkaConnectController |
protected static io.debezium.testing.openshift.tools.kafka.KafkaController |
kafkaController |
protected static io.debezium.testing.openshift.tools.kafka.KafkaDeployer |
kafkaDeployer |
private static org.slf4j.Logger |
LOGGER |
protected static io.fabric8.openshift.client.OpenShiftClient |
ocp |
protected static io.debezium.testing.openshift.tools.kafka.OperatorController |
operatorController |
protected static TestUtils |
testUtils |
| Constructor and Description |
|---|
ConnectorTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertMinimalRecordsCount(String topic,
int count) |
protected void |
assertRecordsContain(String topic,
String content) |
protected void |
assertRecordsCount(String topic,
int count) |
protected void |
assertTopicsExist(String... names) |
protected void |
awaitAssert(long timeout,
TimeUnit unit,
org.awaitility.core.ThrowingRunnable assertion) |
protected void |
awaitAssert(org.awaitility.core.ThrowingRunnable assertion) |
private static void |
initKafkaConsumerProps() |
static void |
setup() |
static void |
teardown() |
private static final org.slf4j.Logger LOGGER
public static final String KAFKA
public static final String KAFKA_CONNECT_S2I_LOGGING
public static final String KAFKA_CONNECT_S2I
protected static Properties KAFKA_CONSUMER_PROPS
protected static io.fabric8.openshift.client.OpenShiftClient ocp
protected static TestUtils testUtils
protected static io.debezium.testing.openshift.tools.kafka.KafkaDeployer kafkaDeployer
protected static io.debezium.testing.openshift.tools.kafka.KafkaController kafkaController
protected static io.debezium.testing.openshift.tools.kafka.KafkaConnectController kafkaConnectController
protected static io.debezium.testing.openshift.tools.kafka.OperatorController operatorController
@BeforeAll
public static void setup()
throws InterruptedException
InterruptedExceptionprivate static void initKafkaConsumerProps()
@AfterAll public static void teardown()
protected void assertTopicsExist(String... names)
protected void awaitAssert(long timeout,
TimeUnit unit,
org.awaitility.core.ThrowingRunnable assertion)
protected void awaitAssert(org.awaitility.core.ThrowingRunnable assertion)
protected void assertRecordsCount(String topic, int count)
protected void assertMinimalRecordsCount(String topic, int count)
Copyright © 2020 JBoss by Red Hat. All rights reserved.