rama 0.3.0

modular service framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::utils;

#[tokio::test]
#[ignore]
async fn test_native_dns() {
    utils::init_tracing();

    let output = utils::ExampleRunner::run_with_args_output("native_dns", ["localhost"]).await;
    assert!(output.status.success());

    let stdout = String::from_utf8_lossy(&output.stdout);

    assert!(stdout.contains("localhost"));
    assert!(stdout.contains("127.0.0.1") || stdout.contains("::1"));
}