()
| 3329 | |
| 3330 | #[tokio::test] |
| 3331 | async fn verify_rejects_missing_result_file() { |
| 3332 | let temp_dir = tempdir().expect("failed to create benchmark test directory"); |
| 3333 | let missing_path = temp_dir.path().join("missing_result.csv"); |
| 3334 | let mut benchmark = parse_benchmark(&format!( |
| 3335 | "result {}\n\nrun\nSELECT 1 AS value\n", |
| 3336 | missing_path.display() |
| 3337 | )) |
| 3338 | .await |
| 3339 | .expect("benchmark should parse"); |
| 3340 | let ctx = SessionContext::new(); |
| 3341 | |
| 3342 | benchmark.run(&ctx, true).await.expect("run should succeed"); |
| 3343 | |
| 3344 | assert_result_error_contains(benchmark.verify(&ctx).await, "missing_result.csv"); |
| 3345 | } |
| 3346 | |
| 3347 | #[tokio::test] |
| 3348 | async fn verify_rejects_malformed_result_file() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…