Documentation ¶
Overview ¶
Package testfiles locates test files within the Vitess directory tree. It also handles test port allocation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GoVtTopoEtcd2topoPort is used by the go/vt/topo/etcd2topo package. // Takes two ports. GoVtTopoEtcd2topoPort = vtPortStart // GoVtTopoZk2topoPort is used by the go/vt/topo/zk2topo package. // Takes three ports. GoVtTopoZk2topoPort = GoVtTopoEtcd2topoPort + 2 // GoVtTopoConsultopoPort is used by the go/vt/topo/consultopo package. // Takes four ports. GoVtTopoConsultopoPort = GoVtTopoZk2topoPort + 3 )
Port definitions. Unit tests may run at the same time, so they should not use the same ports.
View Source
var (
// GoVtTopoZk2topoZkID is used by the go/vt/topo/zk2topo package.
GoVtTopoZk2topoZkID = 1
)
Zookeeper server ID definitions. Unit tests may run at the same time, so they can't use the same Zookeeper server IDs.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.