func WaitAfterCreateIndexSet(server *mockserver.Server) {
	// At real graylog API we need to sleep
	// 404 Index set not found.
	if server == nil {
		time.Sleep(1 * time.Second)
	}
}
// WaitAfterCreateIndexSet waits for a while after creates an index set
// if server is not a mock server.
WaitAfterCreateIndexSet waits for a while after creates an index set
if server is not a mock server.
// WaitAfterCreateIndexSet waits for a while after creates an index set // if server is not a mock server .
func WaitAfterCreateIndexSet(server *mockserver.Server) {
	if server == nil {
		time.Sleep(1 * time.Second)
	}
}
func WaitAfterCreateIndexSet ( server * mockserver . Server ) { if server == nil { time . Sleep ( 1 * time . Second ) } }
WaitAfterCreateIndexSet waits for a while after creates an index set
if server is not a mock server.
WaitAfterCreateIndexSet waits for a while after creates an index set if server is not a mock server .
// At real graylog API we need to sleep // 404 Index set not found.