fn common_build_configuration(
    server: &MockServer,
    custom: &mut Vec<&str>,
) -> SwanlingConfiguration {
    // Common elements in all our tests.
    let mut configuration = vec![
        "--users",
        "2",
        "--hatch-rate",
        "4",
        "--run-time",
        "2",
        "--no-reset-metrics",
    ];

    // Custom elements in some tests.
    configuration.append(custom);

    // Return the resulting configuration.
    common::build_configuration(&server, configuration)
}
// Build appropriate configuration for these tests.
Build appropriate configuration for these tests.
Build appropriate configuration for these tests .
fn common_build_configuration(
    server: &MockServer,
    custom: &mut Vec<&str>,
) -> SwanlingConfiguration {
    // Common elements in all our tests.
    let mut configuration = vec![
        "--users",
        "2",
        "--hatch-rate",
        "4",
        "--run-time",
        "2",
        "--no-reset-metrics",
    ];
    // Custom elements in some tests.
    configuration.append(custom);
    // Return the resulting configuration.
    common::build_configuration(&server, configuration)
}
fn common_build_configuration ( server : & MockServer , custom : & mut Vec < & str > , ) -> SwanlingConfiguration { // Common elements in all our tests. let mut configuration = vec ! [ " " " " " " " " " " " " " " ] ; // Custom elements in some tests. configuration . append ( custom ) ; // Return the resulting configuration. common :: build_configuration ( & server , configuration ) }
Build appropriate configuration for these tests.
Build appropriate configuration for these tests .
server
&MockServer
custom
&mut Vec<&str>