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