def __init__(self, test_context, num_zk, num_brokers, num_schema_registry, retry_wait_sec=.2, num_retries=10): super(SchemaRegistryFailoverTest, self).__init__(test_context, num_zk, num_brokers, num_schema_registry) # Time to wait between registration retries self.retry_wait_sec = retry_wait_sec # Number of attempted retries self.num_retries = num_retries self.register_driver = RegisterSchemasService( test_context, 1, self.schema_registry, self.retry_wait_sec, self.num_retries, max_time_seconds=900)
def __init__(self, test_context): """:type test_context: ducktape.tests.test.TestContext""" super(EverythingRunsTest, self).__init__(test_context=test_context) self.zk = ZookeeperService(test_context, num_nodes=2) self.kafka = KafkaService(test_context, 1, self.zk) self.schema_registry = SchemaRegistryService(test_context, 1, self.zk, self.kafka) self.rest_proxy = KafkaRestService(test_context, 1, self.zk, self.kafka, self.schema_registry) self.register_driver = RegisterSchemasService(test_context, 1, self.schema_registry, retry_wait_sec=.02, num_tries=5, max_time_seconds=10, max_schemas=50)