This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 65f498b16d GH-44479: [CI][Archery] Add missing Flight integration
targets (#44691)
65f498b16d is described below
commit 65f498b16de3ee8448636c1bd7bfaf5ebba7c55f
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Nov 14 14:54:06 2024 +0900
GH-44479: [CI][Archery] Add missing Flight integration targets (#44691)
### Rationale for this change
Go, Rust -> C++, Java, C# don't exist.
### What changes are included in this PR?
Add Go, Rust -> C++, Java, C# pairs.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #44479
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/archery/archery/integration/runner.py | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/dev/archery/archery/integration/runner.py
b/dev/archery/archery/integration/runner.py
index 5cba350253..6597183b2c 100644
--- a/dev/archery/archery/integration/runner.py
+++ b/dev/archery/archery/integration/runner.py
@@ -130,10 +130,24 @@ class IntegrationRunner(object):
Run Arrow Flight integration tests for the matrix of enabled
implementations.
"""
- servers = filter(lambda t: t.FLIGHT_SERVER, self.testers)
- clients = filter(lambda t: (t.FLIGHT_CLIENT and t.CONSUMER),
- self.testers + self.other_testers)
- for server, client in itertools.product(servers, clients):
+
+ def is_server(t):
+ return t.FLIGHT_SERVER
+
+ def is_client(t):
+ return t.FLIGHT_CLIENT and t.CONSUMER
+
+ for server, client in itertools.product(
+ filter(is_server, self.testers),
+ filter(is_client, self.testers)):
+ self._compare_flight_implementations(server, client)
+ for server, client in itertools.product(
+ filter(is_server, self.testers),
+ filter(is_client, self.other_testers)):
+ self._compare_flight_implementations(server, client)
+ for server, client in itertools.product(
+ filter(is_server, self.other_testers),
+ filter(is_client, self.testers)):
self._compare_flight_implementations(server, client)
log('\n')