Skip to content

Commit

Permalink
apacheGH-44479: [CI][Archery] Add missing Flight integration targets (a…
Browse files Browse the repository at this point in the history
…pache#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: apache#44479

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou authored Nov 14, 2024
1 parent 354a22f commit 65f498b
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions dev/archery/archery/integration/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,24 @@ def run_flight(self):
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')

Expand Down

0 comments on commit 65f498b

Please sign in to comment.