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

Function test_alter_database_not_found

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

Source from the content-addressed store, hash-verified

189
190#[tokio::test]
191async fn test_alter_database_not_found() {
192 let ctx = setup_test_server(vec!["default"]).await;
193
194 let result = ctx
195 .api
196 .alter_database("non_existent", vec![], HashMap::new())
197 .await;
198 assert!(
199 result.is_err(),
200 "altering non-existent database should fail"
201 );
202}
203
204#[tokio::test]
205async fn test_drop_database() {

Callers

nothing calls this directly

Calls 2

setup_test_serverFunction · 0.85
alter_databaseMethod · 0.45

Tested by

no test coverage detected