| 109 | } |
| 110 | |
| 111 | pub 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 | |
| 127 | fn setup_logging() { |
| 128 | let subscriber = FmtSubscriber::builder() |