MCPcopy Create free account
hub / github.com/apache/skywalking-php / teardown

Function teardown

tests/common/mod.rs:111–125  ·  view source on GitHub ↗
(fixture: Fixture)

Source from the content-addressed store, hash-verified

109}
110
111pub async fn teardown(fixture: Fixture) {
112 fixture.http_server_1_handle.abort();
113 fixture.http_server_2_handle.abort();
114
115 let results = join_all([
116 kill_command(fixture.php_fpm_1_child),
117 kill_command(fixture.php_fpm_2_child),
118 kill_command(fixture.php_swoole_1_child),
119 kill_command(fixture.php_swoole_2_child),
120 ])
121 .await;
122 for result in results {
123 assert!(result.unwrap().success());
124 }
125}
126
127fn setup_logging() {
128 let subscriber = FmtSubscriber::builder()

Callers 1

e2eFunction · 0.85

Calls 1

kill_commandFunction · 0.85

Tested by

no test coverage detected