Skip to content

Commit 88137a2

Browse files
committed
use port 5001
1 parent 6165cd9 commit 88137a2

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

crates/catalog/glue/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ mod tests {
435435
#[tokio::test]
436436
async fn test_config_with_custom_endpoint() {
437437
let properties = HashMap::new();
438-
let endpoint_url = "http://custom_url:5000";
438+
let endpoint_url = "http://custom_url:5001";
439439

440440
let sdk_config = create_sdk_config(&properties, Some(&endpoint_url.to_string())).await;
441441

crates/test_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ mod common {
4747
pub const DEFAULT_MINIO_PORT: u16 = 9000;
4848
pub const DEFAULT_REST_CATALOG_PORT: u16 = 8181;
4949
pub const DEFAULT_HMS_PORT: u16 = 9083;
50-
pub const DEFAULT_GLUE_PORT: u16 = 5000;
50+
pub const DEFAULT_GLUE_PORT: u16 = 5001;
5151
pub const DEFAULT_GCS_PORT: u16 = 4443;
5252

5353
/// Returns the MinIO S3-compatible endpoint.

dev/docker-compose.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,12 @@ services:
137137
networks:
138138
iceberg_test:
139139
ports:
140-
- "5000:5000"
140+
- "5001:5001"
141+
environment:
142+
# Use port 5001 instead of default 5000 to avoid conflict with macOS AirPlay Receiver.
143+
- MOTO_PORT=5001
141144
healthcheck:
142-
test: ["CMD", "curl", "-f", "http://localhost:5000/moto-api/"]
145+
test: ["CMD", "curl", "-f", "http://localhost:5001/moto-api/"]
143146
interval: 5s
144147
timeout: 5s
145148
retries: 5

0 commit comments

Comments
 (0)