예제 #1
0
func newNatsGroup() ifrit.Runner {
	natsServerRunner = gnatsdrunner.NewGnatsdTestRunner(natsPort)
	natsClientRunner = diegonats.NewClientRunner(natsAddress, "", "", logger, natsClient)
	return grouper.NewOrdered(os.Kill, grouper.Members{
		{"natsServer", natsServerRunner},
		{"natsClient", natsClientRunner},
	})
}
예제 #2
0
func startNATS() {
	gnatsdProcess = ginkgomon.Invoke(gnatsdrunner.NewGnatsdTestRunner(natsPort))
}