Пример #1
0
func TestStop(t *testing.T) {
	checkTestSkip(t)
	//server.Stop()
	if client != nil {
		client.Close()
	}
	server.Stop()
}
Пример #2
0
func TestClose(t *testing.T) {
	var e error

	if client != nil {
		client.Close()
	}

	if coordinator != nil {
		e = coordinator.Stop()
		if e != nil {
			t.Error(e)
			return
		}
	}
}