()
| 1284 | |
| 1285 | #[tokio::test] |
| 1286 | async fn test_empty_commit_is_noop() { |
| 1287 | let file_io = test_file_io(); |
| 1288 | let table_path = "memory:/test_empty_commit"; |
| 1289 | setup_dirs(&file_io, table_path).await; |
| 1290 | |
| 1291 | let commit = setup_commit(&file_io, table_path); |
| 1292 | commit.commit(vec![]).await.unwrap(); |
| 1293 | |
| 1294 | let snap_manager = SnapshotManager::new(file_io.clone(), table_path.to_string()); |
| 1295 | let snapshot = snap_manager.get_latest_snapshot().await.unwrap(); |
| 1296 | assert!(snapshot.is_none()); |
| 1297 | } |
| 1298 | |
| 1299 | #[tokio::test] |
| 1300 | async fn test_truncate_table() { |
nothing calls this directly
no test coverage detected