Skip to main content

Module integration_test

Module integration_test 

Source
Expand description

Integration tests for the Flight server.

Re-exportsยง

use core::str; ๐Ÿ”’
use std::collections::HashMap; ๐Ÿ”’
use std::pin::Pin; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use arrow::array::ArrayRef; ๐Ÿ”’
use arrow::buffer::Buffer; ๐Ÿ”’
use arrow::datatypes::Schema; ๐Ÿ”’
use arrow::datatypes::SchemaRef; ๐Ÿ”’
use arrow::ipc; ๐Ÿ”’
use arrow::ipc::reader; ๐Ÿ”’
use arrow::ipc::writer; ๐Ÿ”’
use arrow::record_batch::RecordBatch; ๐Ÿ”’
use arrow_flight::Action; ๐Ÿ”’
use arrow_flight::ActionType; ๐Ÿ”’
use arrow_flight::Criteria; ๐Ÿ”’
use arrow_flight::Empty; ๐Ÿ”’
use arrow_flight::FlightData; ๐Ÿ”’
use arrow_flight::FlightDescriptor; ๐Ÿ”’
use arrow_flight::FlightEndpoint; ๐Ÿ”’
use arrow_flight::FlightInfo; ๐Ÿ”’
use arrow_flight::HandshakeRequest; ๐Ÿ”’
use arrow_flight::HandshakeResponse; ๐Ÿ”’
use arrow_flight::IpcMessage; ๐Ÿ”’
use arrow_flight::PollInfo; ๐Ÿ”’
use arrow_flight::PutResult; ๐Ÿ”’
use arrow_flight::SchemaAsIpc; ๐Ÿ”’
use arrow_flight::SchemaResult; ๐Ÿ”’
use arrow_flight::Ticket; ๐Ÿ”’
use arrow_flight::flight_descriptor::DescriptorType; ๐Ÿ”’
use arrow_flight::flight_service_server::FlightService; ๐Ÿ”’
use arrow_flight::flight_service_server::FlightServiceServer; ๐Ÿ”’
use futures::Stream; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use futures::channel::mpsc; ๐Ÿ”’
use futures::sink::SinkExt; ๐Ÿ”’
use tokio::sync::Mutex; ๐Ÿ”’
use tonic::Request; ๐Ÿ”’
use tonic::Response; ๐Ÿ”’
use tonic::Status; ๐Ÿ”’
use tonic::Streaming; ๐Ÿ”’
use tonic::transport::Server; ๐Ÿ”’

Structsยง

FlightServiceImpl
Flight service implementation for integration testing
IntegrationDataset ๐Ÿ”’

Functionsยง

dictionary_from_message ๐Ÿ”’
record_batch_from_message ๐Ÿ”’
save_uploaded_chunks ๐Ÿ”’
scenario_setup
Run a scenario that tests integration testing.
send_app_metadata ๐Ÿ”’

Type Aliasesยง

Error ๐Ÿ”’
Result ๐Ÿ”’
TonicStream ๐Ÿ”’