tests

package
v0.0.0-...-5a87418 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

Functional Tests

These tests exercise integration of the system

Before running, start the ZK and Kafka docker containers by running make functional-test/services/start in the root of the repo.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provisioner

type Provisioner struct {
	// contains filtered or unexported fields
}

Provisioner encapsulates provisioning the test environment

func NewProvisioner

func NewProvisioner(conf queue.Config) (*Provisioner, error)

NewProvisioner creates a new provisioner instance

func (*Provisioner) ProvisionTopics

func (p *Provisioner) ProvisionTopics(ctx context.Context) error

ProvisionTopics creates the Kafka topics for (re)delivering queue messages

func (*Provisioner) TeardownTopics

func (p *Provisioner) TeardownTopics(ctx context.Context) error

TeardownTopics deletes the marker and message topics from Kafka

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳