()
| 2895 | |
| 2896 | #[tokio::test] |
| 2897 | async fn cleanup_propagates_query_failures() { |
| 2898 | let mut benchmark = parse_benchmark( |
| 2899 | r#" |
| 2900 | run |
| 2901 | SELECT 1; |
| 2902 | |
| 2903 | cleanup |
| 2904 | SELECT * FROM missing_cleanup_table; |
| 2905 | "#, |
| 2906 | ) |
| 2907 | .await |
| 2908 | .expect("benchmark should parse"); |
| 2909 | let ctx = SessionContext::new(); |
| 2910 | |
| 2911 | assert_result_error_contains( |
| 2912 | benchmark.cleanup(&ctx).await, |
| 2913 | "missing_cleanup_table", |
| 2914 | ); |
| 2915 | } |
| 2916 | |
| 2917 | #[tokio::test] |
| 2918 | async fn assert_executes_assert_queries_successfully() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…