pub async fn create_unreadable_database(
    db_name: impl Into<String>,
    channel: tonic::transport::Channel,
) {
    let mut management_client = influxdb_iox_client::management::Client::new(channel);

    let rules = DatabaseRules {
        name: db_name.into(),
        ..Default::default()
    };

    management_client
        .create_database(rules.clone())
        .await
        .expect("create database failed");
}
/// given a channel to talk with the managment api, create a new
/// database with no mutable buffer configured, no partitioning rules
given a channel to talk with the managment api, create a new
database with no mutable buffer configured, no partitioning rules
given a channel to talk with the managment api create a new database with no mutable buffer configured no partitioning rules
pub async fn create_unreadable_database(
    db_name: impl Into<String>,
    channel: tonic::transport::Channel,
) {
    let mut management_client = influxdb_iox_client::management::Client::new(channel);
    let rules = DatabaseRules {
        name: db_name.into(),
        ..Default::default()
    };
    management_client
        .create_database(rules.clone())
        .await
        .expect("create database failed");
}
pub async fn create_unreadable_database ( db_name : impl Into < String > , channel : tonic :: transport :: Channel , ) { let mut management_client = influxdb_iox_client :: management :: Client :: new ( channel ) ; let rules = DatabaseRules { name : db_name . into ( ) , .. Default :: default ( ) } ; management_client . create_database ( rules . clone ( ) ) . await . expect ( " " ) ; }
given a channel to talk with the managment api, create a new
database with no mutable buffer configured, no partitioning rules
given a channel to talk with the managment api create a new database with no mutable buffer configured no partitioning rules
db_name
impl Into<String>
channel
tonic::transport::Channel
db_name
impl Into<String>
channel
tonic::transport::Channel