(
connection_task: tokio::task::JoinHandle<Result<(), tokio_postgres::Error>>,
)
| 1068 | } |
| 1069 | |
| 1070 | async fn wait_for_tokio_postgres( |
| 1071 | connection_task: tokio::task::JoinHandle<Result<(), tokio_postgres::Error>>, |
| 1072 | ) -> Result<()> { |
| 1073 | timeout(Duration::from_secs(5), connection_task).await???; |
| 1074 | Ok(()) |
| 1075 | } |
| 1076 | |
| 1077 | fn assert_sqlx_code(err: &sqlx::Error, expected: &str) { |
| 1078 | let code = err |
no outgoing calls
no test coverage detected