test

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockStaticDiscovery

func MockStaticDiscovery(t *testing.T, servers []discovery.Server) *mockdiscovery.MockDiscovery

Types

type MetastoreInstance

type MetastoreInstance struct {
	Metastore               *metastore.Metastore
	Server                  *grpc.Server
	Connection              *grpc.ClientConn
	MetastoreInstanceClient metastorev1.MetastoreServiceClient
	CompactorInstanceClient compactorv1.CompactionPlannerClient
}

type MetastoreSet

type MetastoreSet struct {
	Instances []MetastoreInstance
	Client    *metastoreclient.Client
	// contains filtered or unexported fields
}

func NewMetastoreSet

func NewMetastoreSet(t *testing.T, cfg *metastore.Config, n int, bucket objstore.Bucket) MetastoreSet

func (*MetastoreSet) Close

func (m *MetastoreSet) Close()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL