Documentation
¶
Overview ¶
Package test has test functions for the surveyor
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SystemCreds = "../test/SYS.creds"
)
Test variables
Functions ¶
func StartBasicServer ¶
StartBasicServer runs the NATS server with a monitor port in a go routine
Types ¶
type SuperCluster ¶
SuperCluster holds client connections and NATS servers
func NewSuperCluster ¶
func NewSuperCluster(t *testing.T) *SuperCluster
NewSuperCluster creates a small supercluster for testing, with one client per server.
func (*SuperCluster) Shutdown ¶
func (sc *SuperCluster) Shutdown()
Shutdown shuts the supercluster down
Click to show internal directories.
Click to hide internal directories.