File size: 438 Bytes
f0f4f2b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use anyhow::Result;

mod config;

#[tokio::main]
async fn main() -> Result<()> {
    let config = config::Config::from_env()?;

    let report = interop_tests::run_test(
        &config.transport,
        &config.ip,
        config.is_dialer,
        config.test_timeout,
        &config.redis_addr,
        config.sec_protocol,
        config.muxer,
    )
    .await?;

    println!("{}", serde_json::to_string(&report)?);

    Ok(())
}