This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new ab41c25  fix: Fix grpc schema hack in flight integration test (#1402)
ab41c25 is described below

commit ab41c25dc8b7c37719c4b282c127f1c637780fd0
Author: Andrew Lamb <[email protected]>
AuthorDate: Sat Mar 5 08:54:34 2022 -0500

    fix: Fix grpc schema hack in flight integration test (#1402)
---
 integration-testing/src/flight_client_scenarios/integration_test.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/integration-testing/src/flight_client_scenarios/integration_test.rs 
b/integration-testing/src/flight_client_scenarios/integration_test.rs
index c021020..7b32c57 100644
--- a/integration-testing/src/flight_client_scenarios/integration_test.rs
+++ b/integration-testing/src/flight_client_scenarios/integration_test.rs
@@ -185,7 +185,8 @@ async fn consume_flight_location(
     let mut location = location;
     // The other Flight implementations use the `grpc+tcp` scheme, but the 
Rust http libs
     // don't recognize this as valid.
-    location.uri = location.uri.replace("grpc+tcp://", "grpc://");
+    // more details: https://github.com/apache/arrow-rs/issues/1398
+    location.uri = location.uri.replace("grpc+tcp://", "http://";);
 
     let mut client = FlightServiceClient::connect(location.uri).await?;
     let resp = client.do_get(ticket).await?;

Reply via email to