Skip to content

Commit 5e63068

Browse files
committed
packaging: fix macOS smoke-test Scylla address (scylladb#463)
## Summary - publish Scylla shard-aware CQL port 19042 in the packaging smoke-test compose file - set `--broadcast-rpc-address 127.0.0.1` so the host-side smoke app uses a host-reachable address on macOS Docker/Colima ## Reason The macOS package job runs the smoke app on the host while Scylla runs inside a Docker/Colima VM. With the Rust driver bump, the driver can use the RPC address advertised by Scylla metadata; without a host-reachable broadcast RPC address, that can become the compose bridge IP `172.44.0.2`, which is not routable from the macOS host. Publishing `19042` also lets shard-aware connections reach the single-node test instance. ## Testing - `docker compose -f packaging/smoke-test-app/docker-compose.yml config` (cherry picked from commit 068bc47)
1 parent 2353ee8 commit 5e63068

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packaging/smoke-test-app/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ services:
1111
image: scylladb/scylla
1212
ports:
1313
- "127.0.0.1:9042:9042"
14+
- "127.0.0.1:19042:19042"
1415
networks:
1516
public:
1617
ipv4_address: 172.44.0.2
1718
command: |
1819
--rpc-address 172.44.0.2
20+
--broadcast-rpc-address 127.0.0.1
1921
--listen-address 172.44.0.2
2022
--skip-wait-for-gossip-to-settle 0
2123
--ring-delay-ms 0

0 commit comments

Comments
 (0)