MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_execute_update

Function test_execute_update

arrow-flight/examples/flight_sql_server.rs:994–1004  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

992
993 #[tokio::test]
994 async fn test_execute_update() {
995 test_all_clients(|mut client| async move {
996 auth_client(&mut client).await;
997 let res = client
998 .execute_update("creat table test(a int);".to_string(), None)
999 .await
1000 .unwrap();
1001 assert_eq!(res, FAKE_UPDATE_RESULT);
1002 })
1003 .await
1004 }
1005
1006 #[tokio::test]
1007 async fn test_auth() {

Callers

nothing calls this directly

Calls 3

test_all_clientsFunction · 0.85
auth_clientFunction · 0.85
execute_updateMethod · 0.80

Tested by

no test coverage detected