MCPcopy Create free account
hub / github.com/apache/paimon-rust / test_get_table_not_found

Function test_get_table_not_found

crates/paimon/tests/rest_api_test.rs:264–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262
263#[tokio::test]
264async fn test_get_table_not_found() {
265 let ctx = setup_test_server(vec!["default"]).await;
266
267 let result = ctx
268 .api
269 .get_table(&Identifier::new("default", "non_existent_table"))
270 .await;
271 assert!(result.is_err(), "getting non-existent table should fail");
272}
273
274#[tokio::test]
275async fn test_list_tables_empty_database() {

Callers

nothing calls this directly

Calls 2

setup_test_serverFunction · 0.85
get_tableMethod · 0.45

Tested by

no test coverage detected